gdsl  1.6
gdsl_types.h File Reference

Go to the source code of this file.

Typedefs

typedef void * gdsl_element_t
 GDSL element type.
typedef gdsl_element_t(* gdsl_alloc_func_t )(void *USER_DATA)
 GDSL Alloc element function type.
typedef void(* gdsl_free_func_t )(gdsl_element_t E)
 GDSL Free element function type.
typedef gdsl_element_t(* gdsl_copy_func_t )(const gdsl_element_t E)
 GDSL Copy element function type.
typedef int(* gdsl_map_func_t )(const gdsl_element_t E, gdsl_location_t LOCATION, void *USER_DATA)
 GDSL Map element function type.
typedef long int(* gdsl_compare_func_t )(const gdsl_element_t E, void *VALUE)
 GDSL Comparison element function type.
typedef void(* gdsl_write_func_t )(const gdsl_element_t E, FILE *OUTPUT_FILE, gdsl_location_t LOCATION, void *USER_DATA)
 GDSL Write element function type.
typedef unsigned long int ulong
typedef unsigned short int ushort

Enumerations

enum  gdsl_constant_t {
  GDSL_ERR_MEM_ALLOC = -1, GDSL_MAP_STOP = 0, GDSL_MAP_CONT = 1, GDSL_INSERTED,
  GDSL_FOUND
}
 GDSL Constants. More...
enum  gdsl_location_t {
  GDSL_LOCATION_UNDEF = 0, GDSL_LOCATION_HEAD = 1, GDSL_LOCATION_ROOT = 1, GDSL_LOCATION_TOP = 1,
  GDSL_LOCATION_TAIL = 2, GDSL_LOCATION_LEAF = 2, GDSL_LOCATION_BOTTOM = 2, GDSL_LOCATION_FIRST = 1,
  GDSL_LOCATION_LAST = 2, GDSL_LOCATION_FIRST_COL = 1, GDSL_LOCATION_LAST_COL = 2, GDSL_LOCATION_FIRST_ROW = 4,
  GDSL_LOCATION_LAST_ROW = 8
}
enum  bool { FALSE = 0, TRUE = 1 }