31#include <netinet/in.h>
33#include <sys/socket.h>
44typedef enum nmsg_res nmsg_res;
46typedef struct nmsg_container * nmsg_container_t;
47typedef struct nmsg_fltmod * nmsg_fltmod_t;
48typedef struct nmsg_input * nmsg_input_t;
49typedef struct nmsg_io * nmsg_io_t;
50typedef struct nmsg_message * nmsg_message_t;
51typedef struct nmsg_msgmod * nmsg_msgmod_t;
52typedef struct nmsg_output * nmsg_output_t;
53typedef struct nmsg_pcap * nmsg_pcap_t;
54typedef struct nmsg_pres * nmsg_pres_t;
55typedef struct nmsg_rate * nmsg_rate_t;
56typedef struct nmsg_random * nmsg_random_t;
57typedef struct nmsg_strbuf * nmsg_strbuf_t;
58typedef struct nmsg_zbuf * nmsg_zbuf_t;
78typedef void (*nmsg_cb_message)(nmsg_message_t msg,
void *user);
94typedef nmsg_res (*nmsg_cb_message_read)(nmsg_message_t *msg,
void *user);
96#include <nmsg/alias.h>
97#include <nmsg/asprintf.h>
98#include <nmsg/chalias.h>
99#include <nmsg/compat.h>
100#include <nmsg/constants.h>
101#include <nmsg/container.h>
102#include <nmsg/filter.h>
103#include <nmsg/fltmod.h>
104#include <nmsg/input.h>
106#include <nmsg/ipdg.h>
107#include <nmsg/message.h>
108#include <nmsg/msgmod.h>
109#include <nmsg/output.h>
110#include <nmsg/pcap_input.h>
111#include <nmsg/random.h>
112#include <nmsg/rate.h>
113#include <nmsg/sock.h>
114#include <nmsg/strbuf.h>
115#include <nmsg/timespec.h>
116#include <nmsg/vendors.h>
117#include <nmsg/version.h>
118#include <nmsg/zbuf.h>
131__attribute__ ((warn_unused_result))
133nmsg_res nmsg_init(
void);
144void nmsg_set_autoclose(
bool autoclose);
151void nmsg_set_debug(
int debug);
156int nmsg_get_debug(
void);
161const char *nmsg_get_version(
void);
168uint32_t nmsg_get_version_number(
void);