#include <context.h>
|
void(* | log_fn )(struct lightify_ctx *ctx, int priority, const char *file, int line, const char *fn, const char *format, va_list args) |
|
int(* | socket_read_fn )(struct lightify_ctx *ctx, unsigned char *msg, size_t size) |
| Function pointer to the I/O handling – read from. More...
|
|
int(* | socket_write_fn )(struct lightify_ctx *ctx, unsigned char *msg, size_t size) |
| Function pointer to the I/O handling – read from. More...
|
|
void * | userdata |
| Function pointer to the I/O handling – write to. More...
|
|
int | log_priority |
|
int | socket |
|
struct lightify_node * | nodes |
|
struct lightify_group * | groups |
|
uint32_t | cnt |
|
struct timeval | iotimeout |
|
int | gw_protocol_version |
|
lightify_ctx:
Opaque object representing the library context.
Definition at line 68 of file context.h.
request id counter
Definition at line 96 of file context.h.
pointer to the first group, if any
Definition at line 93 of file context.h.
detected protocol variant
Definition at line 102 of file context.h.
timeout for IO
Definition at line 99 of file context.h.
void(* log_fn) (struct lightify_ctx *ctx, int priority, const char *file, int line, const char *fn, const char *format, va_list args) |
pointer to the first node, if any.
Definition at line 90 of file context.h.
fd for network socket
Definition at line 87 of file context.h.
int(* socket_read_fn) (struct lightify_ctx *ctx, unsigned char *msg, size_t size) |
Function pointer to the I/O handling – read from.
Definition at line 74 of file context.h.
int(* socket_write_fn) (struct lightify_ctx *ctx, unsigned char *msg, size_t size) |
Function pointer to the I/O handling – read from.
Definition at line 77 of file context.h.
Function pointer to the I/O handling – write to.
Definition at line 82 of file context.h.
The documentation for this struct was generated from the following file: