Skip to content

Commit

Permalink
Merge pull request zeromq#159 from sappo/master
Browse files Browse the repository at this point in the history
Updated documentation with latest API
  • Loading branch information
hintjens committed Apr 5, 2014
2 parents 7d5a61e + cc15307 commit 0bf301d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ Besides the plain receive method Zyre provides an API to receive an wrapped even

Events must be destroyed once you no longer need them.

// Constructor: receive an event from the zyre node, wraps zyre_recv.
// The event may be a control message (ENTER, EXIT, JOIN, LEAVE) or
// data (WHISPER, SHOUT).
CZMQ_EXPORT zyre_event_t *
zyre_event_new (zyre_t *self);

// Destructor; destroys an event instance
void
zyre_event_destroy (zyre_event_t **self_p);
Expand Down

0 comments on commit 0bf301d

Please sign in to comment.