Events are what are located at the paths, whereas subscriptions are what are located at ev_path + ev_extra (ev_extra may == ""), and these are what you can actually broadcast and send events to. More...
#include <sub.h>
Public Attributes | |
| struct event * | ev |
| The event that this sub belongs to. | |
| gchar * | ev_extra |
| To allow a way to remove sub from ev->subs. | |
| qev_list_t * | subscribers |
| All of the clients currently listening for this event. | |
| guint | refs |
| Reference count to allow unlocked operations when dealing with subscriptions. More... | |
Events are what are located at the paths, whereas subscriptions are what are located at ev_path + ev_extra (ev_extra may == ""), and these are what you can actually broadcast and send events to.
| guint subscription::refs |
Reference count to allow unlocked operations when dealing with subscriptions.
This number technically represents the total number of clients subscribed and the number of outstanding references to the subscription. This allows a quick way to determine simultaneously if the list is empty and no one has a reference anymore.
1.8.6