55 #if !defined(__AMXB_SUBSCRIBE_H__)
56 #define __AMXB_SUBSCRIBE_H__
101 const char* expression,
102 amxp_slot_fn_t slot_cb,
128 amxp_slot_fn_t slot_cb,
int amxb_unsubscribe(amxb_bus_ctx_t *const ctx, const char *object, amxp_slot_fn_t slot_cb, void *priv)
Removes an event subscription.
int amxb_publish(amxb_bus_ctx_t *const ctx, const char *object, const char *name, amxc_var_t *data)
Publish an event for a specific object.
int amxb_subscribe(amxb_bus_ctx_t *const ctx, const char *object, const char *expression, amxp_slot_fn_t slot_cb, void *priv)
Subscribes for events of a object tree.