summaryrefslogtreecommitdiff
path: root/src/client_initialization.h
diff options
context:
space:
mode:
authorJakub Sławiński2005-08-05 21:45:31 +0200
committerJoshua Judson Rosen2014-07-17 21:14:59 +0200
commit43e8714797d40bcf63efab428dcd25f9caf1d52b (patch)
tree796974a873a97f2a44f872f3dd3587508e35aa64 /src/client_initialization.h
parentv0.7.1 (diff)
downloadapf-43e8714797d40bcf63efab428dcd25f9caf1d52b.tar.gz
v0.7.2
- Added: http proxy basic authorization - Fixed: logging initialization after some value checking - Fixed: auto-reconnect failure when --nossl option is set - Added: auto-reconnect when afserver is not reachable on start - Added: auto-reconnect after normal afserver quit - Added: per user statistics: idle time, amount of downloaded/uploaded bytes and current download/upload rate - Added: support for https proxies - Added: possibility to bind sockets on different interfaces - Fixed: receiving incomplete headers from afclient - Fixed: close user connections by afclient
Diffstat (limited to 'src/client_initialization.h')
-rw-r--r--src/client_initialization.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/client_initialization.h b/src/client_initialization.h
index 89235c7..5c8c719 100644
--- a/src/client_initialization.h
+++ b/src/client_initialization.h
@@ -24,17 +24,19 @@
#include "stats.h"
#include "logging.h"
#include "http_proxy_client.h"
+#include "http_proxy_options_struct.h"
+#include "ssl_fd_struct.h"
#include <openssl/ssl.h>
#ifndef _JS_CLIENT_INITIALIZATION_H
#define _JS_CLIENT_INITIALIZATION_H
-int initialize_client_stage1(char tunneltype, clifd* master, char* name, char* manage,
- char* proxyname, char* proxyport, char ipfam, SSL_CTX* ctx, unsigned char* buff, unsigned char* pass,
+int initialize_client_stage1(char tunneltype, SslFd* master, char* name, char* manage,
+ HttpProxyOptions* hpo, char ipfam, SSL_CTX* ctx, unsigned char* buff, unsigned char* pass,
char wanttoexit, char ignorepkeys);
-int initialize_client_stage2(char *type, clifd* master, int* usernum, unsigned char* buff, char wanttoexit);
-int initialize_client_stage3(ConnectuserT** contable, clifd* master, int usernum, int* buflength,
+int initialize_client_stage2(char *type, SslFd* master, int* usernum, unsigned char* buff, char wanttoexit);
+int initialize_client_stage3(ConnectUser*** contable, SslFd* master, int usernum, int* buflength,
socklen_t* len, fd_set* allset, fd_set* wset, int* maxfdp1, char wanttoexit);
#endif