66 static int my_cmp(
const void *a,
const void *b)
71 static void my_dump(
const void *a,
long index)
73 debug(
"", 0,
"dump(%p, %ld) called", a, index);
void gw_prioqueue_foreach(gw_prioqueue_t *queue, void(*fn)(const void *, long))
#define octstr_get_cstr(ostr)
void gw_prioqueue_insert(gw_prioqueue_t *queue, void *item)
Octstr * octstr_imm(const char *cstr)
void * gw_prioqueue_remove(gw_prioqueue_t *queue)
long gw_prioqueue_len(gw_prioqueue_t *queue)
void octstr_destroy(Octstr *ostr)
#define octstr_create(cstr)
gw_prioqueue_t * gw_prioqueue_create(int(*cmp)(const void *, const void *))
long octstr_len(const Octstr *ostr)
void debug(const char *place, int err, const char *fmt,...)
void gwlib_shutdown(void)
int octstr_get_char(const Octstr *ostr, long pos)
static void my_dump(const void *a, long index)
int octstr_compare(const Octstr *ostr1, const Octstr *ostr2)
static int my_cmp(const void *a, const void *b)