diff options
Diffstat (limited to 'lib/multiif.h')
-rw-r--r-- | lib/multiif.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/multiif.h b/lib/multiif.h index cca55a502..e24f36744 100644 --- a/lib/multiif.h +++ b/lib/multiif.h @@ -26,5 +26,19 @@ /* * Prototypes for library-wide functions provided by multi.c */ +void Curl_expire(struct SessionHandle *data, long milli); + void Curl_multi_rmeasy(void *multi, CURL *data); + +/* the write bits start at bit 16 for the *getsock() bitmap */ +#define GETSOCK_WRITEBITSTART 16 + +#define GETSOCK_BLANK 0 /* no bits set */ + +/* set the bit for the given sock number to make the bitmap for writable */ +#define GETSOCK_WRITESOCK(x) (1 << (GETSOCK_WRITEBITSTART + (x))) + +/* set the bit for the given sock number to make the bitmap for readable */ +#define GETSOCK_READSOCK(x) (1 << (x)) + #endif /* __MULTIIF_H */ |