aboutsummaryrefslogtreecommitdiffstats
path: root/url.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-17 21:56:50 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-17 21:56:50 +0100
commit7c0a4975a538ab75405e64919bbdfee51b898b2e (patch)
tree47d211522bbed3fda3b33b0233e91e3cf5cb9e23 /url.h
parentb5a22e33a1aa2500093e783e79de2f44bf53c150 (diff)
parentad8b8a367c8e5dd2816096959682e2187df07c6c (diff)
Moved HTTP-stuff (right now only for passport) into a separate module. This
all works 100% asynchronous and non-blocking, so almost all I/O in BitlBee should be completely non-blocking now! Right now support for other modules than GnuTLS is probably broken, I'll fix it later.
Diffstat (limited to 'url.h')
-rw-r--r--url.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/url.h b/url.h
index c8426876..e9e1ecfe 100644
--- a/url.h
+++ b/url.h
@@ -25,8 +25,8 @@
#include "bitlbee.h"
-#define PROTO_FTP 1
#define PROTO_HTTP 2
+#define PROTO_HTTPS 5
#define PROTO_SOCKS4 3
#define PROTO_SOCKS5 4
#define PROTO_DEFAULT PROTO_HTTP
@@ -36,7 +36,6 @@ typedef struct url
int proto;
int port;
char host[MAX_STRING];
- char dir[MAX_STRING];
char file[MAX_STRING];
char user[MAX_STRING];
char pass[MAX_STRING];