@kv  0.0.4
Library for graph problems in C and Python
queue.h
1 
18 #if !defined(AT_CORE_H_INSIDE)
19 #error "Only <at/core.h> can be included directly."
20 #endif
21 #ifndef AT_QUEUE_H
22 #define AT_QUEUE_H
23 #include <at/core/macro.h>
24 AT_BEGIN_DECLS
25 #include <at/core/list.h>
26 
27 /*=============================================================================
28  STRUCTURE
29  ============================================================================*/
30 
34 typedef struct AtQueueu64{
37 }AtQueueu64;
38 
39 /*=============================================================================
40  PUBLIC API
41  ============================================================================*/
47 at_queueu64_new();
48 
55 at_queueu64_new_array(uint64_t n_queues);
56 
62 void
63 at_queueu64_append_link(AtQueueu64* q, AtListU64* l);
64 
70 void
71 at_queueu64_prepend_link(AtQueueu64* q, AtListU64* l);
72 
78 AtListU64*
79 at_queueu64_remove_first_link(AtQueueu64* q);
80 
86 void
87 at_queueu64_remove_link(AtQueueu64* q, AtListU64* l);
88 
93 void
94 at_queueu64_destroy_array(AtQueueu64** qp);
95 AT_END_DECLS
96 #endif
List 64 bits.
Definition: list.h:33
AtListU64 * first
Definition: queue.h:35
Definition: queue.h:34
AtListU64 * last
Definition: queue.h:36