31 #include <netinet/in.h> 32 #include <arpa/inet.h> 33 #include <sys/socket.h> 34 #include <sys/types.h> 46 typedef struct nmsg_container * nmsg_container_t;
47 typedef struct nmsg_fltmod * nmsg_fltmod_t;
49 typedef struct nmsg_io * nmsg_io_t;
55 typedef struct nmsg_rate * nmsg_rate_t;
56 typedef struct nmsg_random * nmsg_random_t;
58 typedef struct nmsg_zbuf * nmsg_zbuf_t;
99 #include <nmsg/compat.h> 130 __attribute__ ((warn_unused_result))
Write nmsg containers to output streams.
const char * name
Human readable name.
Loading and calling external message filter modules.
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_cb_message_read)(nmsg_message_t *msg, void *user)
Callback function for generating nmsg messages.
nmsg_res nmsg_init(void)
Initialize the libnmsg library.
Functions for marshalling NMSG containers.
Asprintf utility functions.
Possible result codes for nmsg functions.
void(* nmsg_cb_message)(nmsg_message_t msg, void *user)
Callback function for processing nmsg messages.
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.