diff --git a/include/sntl/sntllv2.h b/include/sntl/sntllv2.h index 36a027c..8ae3a0b 100644 --- a/include/sntl/sntllv2.h +++ b/include/sntl/sntllv2.h @@ -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;