summaryrefslogtreecommitdiff
path: root/lib/libradsec-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libradsec-impl.h')
-rw-r--r--lib/libradsec-impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libradsec-impl.h b/lib/libradsec-impl.h
index e51c54c..a4ce7c2 100644
--- a/lib/libradsec-impl.h
+++ b/lib/libradsec-impl.h
@@ -71,6 +71,8 @@ struct rs_peer {
struct rs_connection *conn;
struct evutil_addrinfo *addr;
int s; /* Socket. */
+ char is_connecting;
+ char is_connected;
char *secret;
int timeout; /* client only */
int tries; /* client only */
@@ -80,6 +82,7 @@ struct rs_peer {
struct rs_connection {
struct rs_handle *ctx;
struct event_base *evb;
+ struct bufferevent *bev;
enum rs_conn_type type;
struct rs_credentials transport_credentials;
struct rs_conn_callbacks callbacks;
@@ -98,9 +101,6 @@ struct rs_attr {
VALUE_PAIR *vp;
};
-/* Internal functions. */
-int rs_conn_open(struct rs_connection *conn);
-
/* Convenience macros. */
#define rs_calloc(h, nmemb, size) \
(h->alloc_scheme.calloc ? h->alloc_scheme.calloc : calloc)(nmemb, size)