31 #include <sys/types.h>
38 typedef struct nmsg_container * nmsg_container_t;
40 typedef struct nmsg_io * nmsg_io_t;
46 typedef struct nmsg_rate * nmsg_rate_t;
47 typedef struct nmsg_random * nmsg_random_t;
49 typedef struct nmsg_zbuf * nmsg_zbuf_t;
89 #include <nmsg/compat.h>
119 __attribute__ ((warn_unused_result))
Write nmsg containers to output streams.
const char * name
Human readable name.
void(* nmsg_cb_message)(nmsg_message_t msg, void *user)
Callback function for processing nmsg messages.
Multi-threaded nmsg I/O processing.
Create, load, inspect, and manipulate message objects. Message objects are proxy objects that bind to...
Nmsg payload operator and group aliasing.
void nmsg_set_debug(int debug)
Set debug level.
nmsg_res nmsg_init(void)
Initialize the libnmsg library.
Functions for marshalling NMSG containers.
Asprintf utility functions.
Possible result codes for nmsg functions.
Sleeping and getting the current time.
IP datagram parsing functions.
int nmsg_get_debug(void)
Retrieve the current debug level.
void nmsg_set_autoclose(bool autoclose)
Configure automatic close() behavior of nmsg inputs and outputs.
nmsg_res(* nmsg_cb_message_read)(nmsg_message_t *msg, void *user)
Callback function for generating nmsg messages.