Events are stored in a prefix tree for fast, nice lookups. More...
#include <evs.h>
Public Attributes | |
| gchar * | ev_path |
| The event path for this node. | |
| evs_handler_fn | handler_fn |
| Function called when client sends event to the server. | |
| evs_on_fn | on_fn |
| Called when client attempts to subscribe to event. | |
| evs_off_fn | off_fn |
| Called when client unsubscribes from event. | |
| gboolean | handle_children |
| If this event wants to handle all children paths. | |
| GHashTable * | subs |
| All of the children subscriptions to this event, referenced by extra path segments. More... | |
| GRWLock | subs_lock |
| Lock for subs. | |
Events are stored in a prefix tree for fast, nice lookups.
| GHashTable* event::subs |
All of the children subscriptions to this event, referenced by extra path segments.
Mapping: ev_extra -> struct subscription
1.8.6