NATS C Client with JetStream and Streaming support  3.9.1
The nats.io C Client, Supported by Synadia Communications Inc.
libevent.h File Reference

Go to the source code of this file.

Functions

void natsLibevent_Init (void)
 Initialize the adapter. More...
 
natsStatus natsLibevent_Attach (void **userData, void *loop, natsConnection *nc, natsSock socket)
 Attach a connection to the given event loop. More...
 
natsStatus natsLibevent_Read (void *userData, bool add)
 Start or stop polling on READ events. More...
 
natsStatus natsLibevent_Write (void *userData, bool add)
 Start or stop polling on WRITE events. More...
 
natsStatus natsLibevent_Detach (void *userData)
 The connection is closed, it can be safely detached. More...