10 /* called on connect completion with the bev, conn status (0 failed, 1 ok). */
14 typedef void (*conn_connectcb
)(struct bufferevent
*bev
, int ok
, void *arg
);
16 int conn_connect_bufferevent(struct bufferevent
*bev
, struct evdns_base
*dns
,
17 int family
, const char *name
, int port
,
18 conn_connectcb conncb
, void *arg
);
19 int conn_set_socks_server(const char *name
, int port
, enum socks_ver ver
);
20 const char *conn_get_connect_error(void);