dce2_list.h (snort-2.9.16.1) | : | dce2_list.h (snort-2.9.17) | ||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
struct _DCE2_ListNode *prev; | struct _DCE2_ListNode *prev; | |||
struct _DCE2_ListNode *next; | struct _DCE2_ListNode *next; | |||
} DCE2_ListNode; | } DCE2_ListNode; | |||
typedef struct _DCE2_List | typedef struct _DCE2_List | |||
{ | { | |||
DCE2_ListType type; | DCE2_ListType type; | |||
DCE2_MemType mtype; | DCE2_MemType mtype; | |||
uint32_t num_nodes; | uint32_t num_nodes; | |||
int flags; | ||||
DCE2_ListKeyCompare compare; | DCE2_ListKeyCompare compare; | |||
DCE2_ListDataFree data_free; | DCE2_ListDataFree data_free; | |||
DCE2_ListKeyFree key_free; | DCE2_ListKeyFree key_free; | |||
int flags; | ||||
struct _DCE2_ListNode *head; | struct _DCE2_ListNode *head; | |||
struct _DCE2_ListNode *tail; | struct _DCE2_ListNode *tail; | |||
struct _DCE2_ListNode *current; | struct _DCE2_ListNode *current; | |||
struct _DCE2_ListNode *next; | struct _DCE2_ListNode *next; | |||
struct _DCE2_ListNode *prev; | struct _DCE2_ListNode *prev; | |||
} DCE2_List; | } DCE2_List; | |||
typedef struct _DCE2_QueueNode | typedef struct _DCE2_QueueNode | |||
{ | { | |||
skipping to change at line 144 | skipping to change at line 144 | |||
/* Circular queue */ | /* Circular queue */ | |||
typedef DCE2_ListDataFree DCE2_CQueueDataFree; | typedef DCE2_ListDataFree DCE2_CQueueDataFree; | |||
typedef struct _DCE2_CQueue | typedef struct _DCE2_CQueue | |||
{ | { | |||
uint32_t num_nodes; | uint32_t num_nodes; | |||
DCE2_MemType mtype; | DCE2_MemType mtype; | |||
DCE2_CQueueDataFree data_free; | DCE2_CQueueDataFree data_free; | |||
int size; | int size; | |||
int cur_idx; | ||||
void **queue; | void **queue; | |||
int head_idx; | int head_idx; | |||
int tail_idx; | int tail_idx; | |||
int cur_idx; | ||||
} DCE2_CQueue; | } DCE2_CQueue; | |||
typedef DCE2_ListDataFree DCE2_CStackDataFree; | typedef DCE2_ListDataFree DCE2_CStackDataFree; | |||
typedef struct _DCE2_CStack | typedef struct _DCE2_CStack | |||
{ | { | |||
uint32_t num_nodes; | uint32_t num_nodes; | |||
DCE2_MemType mtype; | DCE2_MemType mtype; | |||
DCE2_CStackDataFree data_free; | DCE2_CStackDataFree data_free; | |||
End of changes. 4 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |