diff options
Diffstat (limited to 'pn_trans.h')
-rw-r--r-- | pn_trans.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,10 +1,15 @@ #ifndef PN_TRANS_H #define PN_TRANS_H +struct pn_cmd; + +typedef void (*pn_trans_cb_t)(void *node, struct pn_cmd *cmd); + struct pn_trans { int id; char *command; char *params; + pn_trans_cb_t cb; }; struct pn_trans *pn_trans_new(void); |