From 63bbc710b23893742e5ccbd430f95bf2d29c2da6 Mon Sep 17 00:00:00 2001 From: Jakub Sławiński Date: Thu, 3 Nov 2005 20:37:56 +0100 Subject: v0.7.4 - Fixed: sockets in CLOSE_WAIT state left by afclient - Added: --localname and --localport options - Added: --localdesname option - Added: kicking user in 'opening' state - Fixed: info about kicked user - Fixed: TERM signal handling - Fixed: id lost after reconnection - Fixed: printing wrong client name in 'SSL_accept failed (timeout)' message - Fixed: ignored 'certificate' and 'key' options from config file - Added: config files for afclient - Modified: some options in afserver config file --- src/file.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/file.h') diff --git a/src/file.h b/src/file.h index 7738df6..7165936 100644 --- a/src/file.h +++ b/src/file.h @@ -20,6 +20,8 @@ #include "activefor.h" #include "network.h" +#include "server_configuration_struct.h" +#include "client_configuration_struct.h" #include #ifndef _JS_FILE_H @@ -31,7 +33,9 @@ #define F_RVALUE 4 #define F_MIDDLE 5 -ConfigurationT parsefile(char*, int*); /* parse the cfg file */ +int parse_line(char* buff, char* tab1, char* tab2); /* parse one line of the file */ +ServerConfiguration* parsefile(char*, int*); /* parse the cfg file */ +ClientConfiguration* cparsefile(char*, int*); /* parse the client's cfg file */ #endif -- cgit v1.1