37 #ifndef SRC_LIBCONTEXT_H_
38 #define SRC_LIBCONTEXT_H_
50 #define GW_PROT_OLD (0)
52 #define GW_PROT_1512 (0x1512)
62 struct lightify_nodes;
71 int line,
const char *fn,
const char *
format, va_list args);
static void const char * format
int(* socket_read_fn)(struct lightify_ctx *ctx, unsigned char *msg, size_t size)
Function pointer to the I/O handling – read from.
struct lightify_node * nodes
void(* log_fn)(struct lightify_ctx *ctx, int priority, const char *file, int line, const char *fn, const char *format, va_list args)
struct lightify_group * groups
int(* socket_write_fn)(struct lightify_ctx *ctx, unsigned char *msg, size_t size)
Function pointer to the I/O handling – read from.
void * userdata
Function pointer to the I/O handling – write to.