Changeset 62b3c4e for lib/libtrace.h.in
- Timestamp:
- 03/05/15 15:44:30 (6 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:
- ab3fa18
- Parents:
- b023181
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h.in
r0ec8a7c r62b3c4e 3461 3461 /*@}*/ 3462 3462 3463 typedef struct libtrace_result_t libtrace_result_t; 3463 3464 /** 3464 3465 * A collection of types for convenience used in place of a … … 3471 3472 void *ptr; 3472 3473 libtrace_packet_t *pkt; 3474 libtrace_result_t *res; 3473 3475 3474 3476 /* C99 Integer types */ … … 3517 3519 3518 3520 /** Structure holding information about a result */ 3519 typedefstruct libtrace_result_t {3521 struct libtrace_result_t { 3520 3522 uint64_t key; 3521 3523 libtrace_generic_t value; 3522 3524 int type; 3523 } libtrace_result_t;3525 }; 3524 3526 #define RESULT_NORMAL 0 3525 3527 #define RESULT_PACKET 1 … … 3546 3548 libtrace_generic_t data, 3547 3549 libtrace_thread_t *sender); 3548 typedef void (*fn_reporter)(libtrace_t* trace, libtrace_result_t *r, libtrace_message_t *m); 3550 typedef void (*fn_reporter)(libtrace_t* trace, 3551 int mesg_code, 3552 libtrace_generic_t data, 3553 libtrace_thread_t *sender); 3549 3554 typedef uint64_t (*fn_hasher)(const libtrace_packet_t* packet, void *data); 3550 3555 … … 3619 3624 enum libtrace_messages { 3620 3625 MESSAGE_PACKET, 3626 MESSAGE_RESULT, 3621 3627 MESSAGE_STARTING, 3622 3628 MESSAGE_RESUMING,
Note: See TracChangeset
for help on using the changeset viewer.