diff options
author | Jakub Sławiński | 2005-08-05 21:45:31 +0200 |
---|---|---|
committer | Joshua Judson Rosen | 2014-07-17 21:14:59 +0200 |
commit | 43e8714797d40bcf63efab428dcd25f9caf1d52b (patch) | |
tree | 796974a873a97f2a44f872f3dd3587508e35aa64 /src/activefor.h | |
parent | v0.7.1 (diff) | |
download | apf-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/activefor.h')
-rw-r--r-- | src/activefor.h | 54 |
1 files changed, 11 insertions, 43 deletions
diff --git a/src/activefor.h b/src/activefor.h index d058a9c..ec2fcc5 100644 --- a/src/activefor.h +++ b/src/activefor.h @@ -22,8 +22,12 @@ #define _JS_ACTIVEFOR_H #include "network.h" -#include "buflist.h" -#include "audit.h" +#include "buf_list_struct.h" +#include "audit_list_struct.h" +#include "usr_cli_struct.h" +#include "connect_user_struct.h" +#include "ssl_fd_struct.h" +#include "connect_client_struct.h" #define AF_S_CONCLOSED 1 #define AF_S_CONOPEN 2 @@ -46,7 +50,7 @@ #define S_STATE_OPEN 7 #define S_STATE_STOPPED 11 -#define AF_VER(info) info" v0.7.1" +#define AF_VER(info) info" v0.7.2" #define TYPE_TCP 1 #define TYPE_UDP 3 @@ -82,42 +86,6 @@ #define TYPE_IS_COMP(type) (type&TYPE_COMP) typedef struct { - char* lisportnum; - char* manportnum; - int listenfd; - int managefd; -} UsrCliT; - -typedef struct { - char state; - int connfd; - int whatcli; - int userid; - time_t connecttime; - char namebuf[128]; - char portbuf[7]; - blnodeT* head; -} ConnectuserT; - -typedef struct { - char ready; - clifd cliconn; - struct timeval tv; - int* users; - int usercon; - int usernum; - int listenfd; - int whatusrcli; - int clientnum; - time_t connecttime; - char* clientid; - char namebuf[128]; - char portbuf[7]; - char tunneltype; - alnodeT* head; -} ConnectclientT; - -typedef struct { char* hostname; char* users; char* clients; @@ -146,10 +114,10 @@ typedef struct { char audit; socklen_t addrlen; struct sockaddr* cliaddr; - ConnectuserT* contable; - ConnectclientT* clitable; - ConnectclientT* raclitable; - UsrCliT* usrclitable; + ConnectUser** contable; + ConnectClient** clitable; + ConnectClient** raclitable; + UsrCli** usrclitable; } RealmT; typedef struct { |