31#include <netinet/in.h>
33#include <sys/socket.h>
46typedef struct nmsg_container * nmsg_container_t;
47typedef struct nmsg_fltmod * nmsg_fltmod_t;
49typedef struct nmsg_io * nmsg_io_t;
55typedef struct nmsg_rate * nmsg_rate_t;
56typedef struct nmsg_random * nmsg_random_t;
58typedef struct nmsg_zbuf * nmsg_zbuf_t;
99#include <nmsg/compat.h>
117#include <nmsg/version.h>
131__attribute__ ((warn_unused_result))
Nmsg payload operator and group aliasing.
Asprintf utility functions.
Functions for marshalling NMSG containers.
Loading and calling external message filter modules.
Multi-threaded nmsg I/O processing.
IP datagram parsing functions.
Create, load, inspect, and manipulate message objects. Message objects are proxy objects that bind to...
const char * nmsg_get_version(void)
Retrieve the semantic library version as a string.
nmsg_res nmsg_init(void)
Initialize the libnmsg library.
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.
void nmsg_set_autoclose(bool autoclose)
Configure automatic close() behavior of nmsg inputs and outputs.
uint32_t nmsg_get_version_number(void)
Retrieve the semantic library version as a packed integer.
void(* nmsg_cb_message)(nmsg_message_t msg, void *user)
Callback function for processing nmsg messages.
int nmsg_get_debug(void)
Retrieve the current debug level.
Write nmsg containers to output streams.
Possible result codes for nmsg functions.
const char * name
Human readable name.
Sleeping and getting the current time.