summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorJakub Sławiński2005-11-03 20:37:56 +0100
committerJoshua Judson Rosen2014-07-17 21:15:00 +0200
commit63bbc710b23893742e5ccbd430f95bf2d29c2da6 (patch)
tree06d0585724cff8a4f1a7c052b5b89fd12c404094 /src/file.h
parentv0.7.2 (diff)
downloadapf-63bbc710b23893742e5ccbd430f95bf2d29c2da6.tar.gz
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
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h6
1 files changed, 5 insertions, 1 deletions
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 <openssl/ssl.h>
#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