#include "portab.h"
-static char UNUSED id[] = "$Id: client.c,v 1.80 2005/05/16 12:23:48 alex Exp $";
+static char UNUSED id[] = "$Id: client.c,v 1.81 2005/05/17 23:18:54 alex Exp $";
#include "imp.h"
#include <assert.h>
LOCAL CLIENT *New_Client_Struct PARAMS(( void ));
LOCAL void Generate_MyToken PARAMS(( CLIENT *Client ));
LOCAL void Adjust_Counters PARAMS(( CLIENT *Client ));
-LOCAL void Register_Whowas PARAMS(( CLIENT *Client ));
#ifndef Client_DestroyNow
GLOBAL void Client_DestroyNow PARAMS((CLIENT *Client ));
Channel_Quit( c, FwdMsg ? FwdMsg : c->id );
/* Register client in My_Whowas structure */
- Register_Whowas( c );
+ Client_RegisterWhowas( c );
}
else if( c->type == CLIENT_SERVER )
{
/**
* Register client in My_Whowas structure for further recall by WHOWAS.
*/
-LOCAL void
-Register_Whowas( CLIENT *Client )
+GLOBAL void
+Client_RegisterWhowas( CLIENT *Client )
{
int slot;
sizeof( My_Whowas[slot].server ));
Last_Whowas = slot;
-} /* Register_Whowas */
+} /* Client_RegisterWhowas */
/* -eof- */
* (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information.
*
- * $Id: client.h,v 1.37 2005/05/16 12:24:31 alex Exp $
+ * $Id: client.h,v 1.38 2005/05/17 23:18:54 alex Exp $
*
* Client management (header)
*/
GLOBAL WHOWAS *Client_GetWhowas PARAMS(( void ));
GLOBAL int Client_GetLastWhowasIndex PARAMS(( void ));
+GLOBAL void Client_RegisterWhowas PARAMS(( CLIENT *Client ));
+
#endif