Implemented more memory manager and btree tests in sandbox
This commit is contained in:
14
sandbox/queue/include/socks/queue.h
Normal file
14
sandbox/queue/include/socks/queue.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef SOCKS_QUEUE_H_
|
||||
#define SOCKS_QUEUE_H_
|
||||
|
||||
typedef struct queue_entry {
|
||||
struct queue_entry *q_next;
|
||||
struct queue_entry *q_prev;
|
||||
} queue_entry_t;
|
||||
|
||||
typedef struct queue {
|
||||
queue_entry_t *q_first;
|
||||
queue_entry_t *q_last;
|
||||
} queue_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user