added macro for connection;

v0.5.xx
Alexander Vdolainen 9 years ago
parent 88fca55801
commit b60820b4b9

@ -93,6 +93,10 @@ typedef struct __connection_t {
usrtc_node_t csnode; /** < node to store the connection within list */
} conn_t;
#define connection_getpctx(c) (c)->pctx
#define connection_getpriv(c) (c)->pctx->priv
#define connection_setpriv(c, p) (c)->pctx->priv = (void *)(p)
struct __connection_rpc_list_type;
struct __message_t;

Loading…
Cancel
Save