cucon/queue.h File Reference

#include <cucon/fwd.h>
#include <cu/diag.h>

Go to the source code of this file.

Data Structures

struct  cucon_queue_node
struct  cucon_queue

Defines

#define cucon_queue_front_mem(q)   ((void*)CU_MARG(cucon_queue_t, q)->front_cur)
#define cucon_queue_front_ptr(q)   (*(void **)cucon_queue_front_mem(q))
#define cucon_queue_pop_ptr(q)   cucon_queue_pop_mem(q, sizeof(void *))
#define cucon_queue_push_ptr(q, ptr)   ((void)(*(void **)cucon_queue_push_mem(q, sizeof(void *)) = (ptr)))

Typedefs

typedef struct cucon_queuecucon_queue_t

Functions

void cucon_queue_init (cucon_queue_t q)
cucon_queue_t cucon_queue_new (void)
cu_bool_fast_t cucon_queue_is_empty (cucon_queue_t q)
void cuconP_queue_pop_mem (cucon_queue_t q)
void * cuconP_queue_push_mem (cucon_queue_t q, size_t size)
void * cucon_queue_push_mem (cucon_queue_t q, size_t size)
void cucon_queue_pop_mem (cucon_queue_t q, size_t size)

Detailed Description

Deprecated:
Not sure if this will be kept.
Generated 2009-11-23 for culibs-0.25 using Doxygen. Maintained by Petter Urkedal.