summaryrefslogtreecommitdiff
path: root/lib/event.h
blob: 5395f589f105968118db1de0558af58e687eeffe (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Copyright 2011 NORDUnet A/S. All rights reserved.
   See the file COPYING for licensing information.  */

int event_set_timeout (struct rs_connection *conn);
void event_on_disconnect (struct rs_connection *conn);
void event_on_connect (struct rs_connection *conn, struct rs_packet *pkt);
int event_loopbreak (struct rs_connection *conn);
int event_init_eventbase (struct rs_connection *conn);
int event_init_socket (struct rs_connection *conn, struct rs_peer *p);
int event_init_bufferevent (struct rs_connection *conn, struct rs_peer *peer);
void event_do_connect (struct rs_connection *conn);