befbd0de2ce1c8dae14c7d50b9fd4ae96b8806b0
[libradsec.git] / lib / event.h
1 /* Copyright 2011 NORDUnet A/S. All rights reserved.
2    See the file COPYING for licensing information.  */
3
4 void event_on_disconnect (struct rs_connection *conn);
5 int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt);
6 int event_loopbreak (struct rs_connection *conn);
7 int event_init_eventbase (struct rs_connection *conn);
8 int event_init_socket (struct rs_connection *conn, struct rs_peer *p);
9 int event_init_bufferevent (struct rs_connection *conn, struct rs_peer *peer);
10 void event_do_connect (struct rs_connection *conn);
11 void event_conn_timeout_cb (int fd, short event, void *data);
12 void event_retransmit_timeout_cb (int fd, short event, void *data);