Changeset fac8c46 for lib/data-struct/deque.h
- Timestamp:
- 05/20/14 03:25:13 (8 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 82facc5
- Parents:
- a5662447
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/data-struct/deque.h
read9478 rfac8c46 6 6 7 7 typedef struct list_node list_node_t; 8 typedef void (*deque_data_fn)(void *data); 8 9 typedef struct libtrace_queue { 9 10 list_node_t * head; … … 25 26 DLLEXPORT void libtrace_zero_deque(libtrace_queue_t *q); 26 27 28 // Apply a given function to every data item, while keeping the entire 29 // structure locked from external modifications 30 DLLEXPORT void libtrace_deque_apply_function(libtrace_queue_t *q, deque_data_fn fn); 31 27 32 #endif
Note: See TracChangeset
for help on using the changeset viewer.