summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 20:17:18 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-10 20:17:18 +0200
commit80f981c0521dc8d7202d27430f3a5280bbd8484d (patch)
tree6992b4b7e8d5422e836b790853fdd2186b8b19ca /src/fastd.h
parent2b3043e578f00a5071dfae40c237b86cc6d70c7e (diff)
downloadfastd-80f981c0521dc8d7202d27430f3a5280bbd8484d.tar
fastd-80f981c0521dc8d7202d27430f3a5280bbd8484d.zip
Move handling of resolve returns requests to a new source file
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 0c3b7a4..3070a07 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -262,8 +262,8 @@ struct fastd_context {
fastd_dlist_head_t handshake_queue;
struct timespec next_keepalives;
- int resolverfd;
- int resolvewfd;
+ int async_rfd;
+ int async_wfd;
int tunfd;
@@ -309,6 +309,7 @@ fastd_socket_t* fastd_socket_open(fastd_context_t *ctx, fastd_peer_t *peer, int
void fastd_socket_close(fastd_context_t *ctx, fastd_socket_t *sock);
void fastd_socket_error(fastd_context_t *ctx, fastd_socket_t *sock);
+void fastd_open_pipe(fastd_context_t *ctx, int *readfd, int *writefd);
void fastd_setfd(const fastd_context_t *ctx, int fd, int set, int unset);
void fastd_setfl(const fastd_context_t *ctx, int fd, int set, int unset);