summaryrefslogtreecommitdiff
path: root/bufferevent-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-05-05 02:59:26 +0000
committerNick Mathewson <nickm@torproject.org>2009-05-05 02:59:26 +0000
commit659d54d5304c476f5cf0ec502235e376e1d2d8a1 (patch)
treed57d4cebc154d2fe73a0e458940ab6fb2d66f9b4 /bufferevent-internal.h
parent0fd70978c8d83f0f677a0d119f2737d0b68ac511 (diff)
downloadlibevent-659d54d5304c476f5cf0ec502235e376e1d2d8a1.tar.gz
Add new code to make and accept connections.
This is stuff that it's easy to get wrong (as I noticed when writing bench_http), and that takes up a fair amount of space (see http.c). Also, it's something that we'll eventually want to abstract to use IOCP, where available. svn:r1272
Diffstat (limited to 'bufferevent-internal.h')
-rw-r--r--bufferevent-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bufferevent-internal.h b/bufferevent-internal.h
index 57748ebc..d937db3c 100644
--- a/bufferevent-internal.h
+++ b/bufferevent-internal.h
@@ -49,6 +49,7 @@ struct bufferevent_private {
unsigned readcb_pending : 1;
unsigned writecb_pending : 1;
+ unsigned connecting : 1;
short errorcb_pending;
int errno_pending;
struct deferred_cb deferred;