From b457fec36399c1f7de093d5e92bb4fa453b79c86 Mon Sep 17 00:00:00 2001 From: Jakub Sławiński Date: Sun, 5 Feb 2006 15:14:03 +0100 Subject: v0.8 - Fixed: infinite loop after buffering message - Fixed: corrupt packets after closing connections in the stopped state - Fixed: bug in mapping user numbers between afclient and afserver - Fixed: premature close of the service connection - Fixed: invalid buffering when the connection is closing - Added: Multiple tunnels in one afclient<->afserver connection --- src/client_remoteadmin.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/client_remoteadmin.c') diff --git a/src/client_remoteadmin.c b/src/client_remoteadmin.c index 298e983..c38ee0f 100644 --- a/src/client_remoteadmin.c +++ b/src/client_remoteadmin.c @@ -22,6 +22,18 @@ #include "client_remoteadmin.h" +/* + * Function name: client_admin + * Description: This function is responsible for client part of the admin panel. + * Arguments: type - the type of the realm + * master - pointer to the SslFd structure representing the connection with afserver + * buff - buffer which will be used for communication + * connectfd - the optional descriptor which can be used instead of the stdin + * id - the realm's id + * Returns: 0 - connection was closed normally, + * 1 - something went bad. + */ + int client_admin(char type, SslFd* master, unsigned char* buff, int connectfd, char* id) { -- cgit v1.1