78 #if defined(__cplusplus) 84 #define LBM_HT_BASE_MATCH_LEVEL 0 85 #define LBM_HT_TOKEN_GLOBNAME 0 86 #define LBM_HT_TOKEN_GLOBPATH 1 87 #define LBM_HT_TOKEN_NAME 2 89 #define LBM_HT_INIT_BRANCH_SZ 16 91 #define LBM_HT_CBVEC_SZ 16 140 #define LBM_HT_CBVEC_FLAG_ACTIVE 1 141 #define LBM_HT_CBVEC_FLAG_DELETED 2 144 #ifdef LBM_HT_INTERNAL 156 struct htcbvlist *next;
157 struct htcbvlist *nextactv;
159 struct htcbvec cbvec[LBM_HT_CBVEC_SZ];
162 struct lbm_hypertopic_rcv_stct
168 struct htbranch *root;
170 struct htcbvlist *activecbs;
177 struct htcbnode *next;
184 struct htcbnode *cblist;
185 struct htbranch *next;
192 int idx[LBM_HT_TOKEN_NAME+1];
193 struct htnode htnodes[1];
241 #if defined(__cplusplus) LBMExpDLL int lbm_hypertopic_rcv_delete(lbm_hypertopic_rcv_t *hrcv, const char *pattern, lbm_hypertopic_rcv_cb_proc proc, void *clientd, lbm_delete_cb_info_t *cbinfo)
Delete a previously added topic from a HyperTopic receiver topic set.
lbm_delete_cb_proc cbproc
Definition: lbmht.h:201
struct lbm_delete_cb_info_t_stct lbm_delete_cb_info_t
Structure passed to the lbm_hypertopic_rcv_delete() function so that a deletion callback may be calle...
LBMExpDLL int lbm_hypertopic_rcv_init(lbm_hypertopic_rcv_t **hrcvp, lbm_context_t *ctx, const char *prefix, lbm_event_queue_t *evq)
Initialize a HyperTopic receiver.
Structure passed to the lbm_hypertopic_rcv_delete() function so that a deletion callback may be calle...
Definition: lbmht.h:199
Information structure for receive events delivered to receiver callback lbm_rcv_cb_proc.
Definition: lbm.h:3968
struct lbm_event_queue_t_stct lbm_event_queue_t
Opaque structure that designates a UM event queue object. See Event Queue Object. ...
Definition: lbm.h:2294
struct lbm_wildcard_rcv_t_stct lbm_wildcard_rcv_t
Opaque structure that designates a UM wildcard receiver object. See UM Wildcard Receivers.
Definition: lbm.h:3840
struct lbm_hypertopic_rcv_stct lbm_hypertopic_rcv_t
HyperTopic receiver object (opaque)
Definition: lbmht.h:95
int(* lbm_hypertopic_rcv_cb_proc)(lbm_hypertopic_rcv_t *hrcv, lbm_msg_t *msg, void *clientd)
Application callback for messages delivered to HyperTopic receivers.
Definition: lbmht.h:120
void(* lbm_delete_cb_proc)(int dispatch_thrd, void *clientd)
Application callback for lbm_hypertopic_rcv_delete().
Definition: lbmht.h:138
LBMExpDLL int lbm_hypertopic_rcv_add(lbm_hypertopic_rcv_t *hrcv, const char *pattern, lbm_hypertopic_rcv_cb_proc proc, void *clientd)
Add a topic pattern to the set of topics being received by a HyperTopic receiver. ...
LBMExpDLL int lbm_hypertopic_rcv_destroy(lbm_hypertopic_rcv_t *hrcv)
Clean-up HyperTopic receiver previously created by lbm_hypertopic_rcv_init()
struct lbm_context_t_stct lbm_context_t
Context object (opaque) for UM. See Context Object.
Definition: lbm.h:1772
void * clientd
Definition: lbmht.h:203