mirror of
https://github.com/osmarks/ngircd.git
synced 2025-07-05 19:32:50 +00:00
New functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.
This commit is contained in:
parent
7f0d101184
commit
b1c14598e1
@ -8,7 +8,7 @@
|
|||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
* Please read the file COPYING, README and AUTHORS for more information.
|
* Please read the file COPYING, README and AUTHORS for more information.
|
||||||
*
|
*
|
||||||
* $Id: client.h,v 1.36 2005/04/27 07:36:25 alex Exp $
|
* $Id: client.h,v 1.37 2005/05/16 12:24:31 alex Exp $
|
||||||
*
|
*
|
||||||
* Client management (header)
|
* Client management (header)
|
||||||
*/
|
*/
|
||||||
@ -60,6 +60,17 @@ typedef POINTER CLIENT;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct _WHOWAS
|
||||||
|
{
|
||||||
|
time_t time; /* time stamp of entry or 0 if unused */
|
||||||
|
char id[CLIENT_NICK_LEN]; /* client nick name */
|
||||||
|
char host[CLIENT_HOST_LEN]; /* hostname of the client */
|
||||||
|
char user[CLIENT_USER_LEN]; /* user name ("login") */
|
||||||
|
char info[CLIENT_INFO_LEN]; /* long user name */
|
||||||
|
char server[CLIENT_HOST_LEN]; /* server name */
|
||||||
|
} WHOWAS;
|
||||||
|
|
||||||
|
|
||||||
GLOBAL void Client_Init PARAMS(( void ));
|
GLOBAL void Client_Init PARAMS(( void ));
|
||||||
GLOBAL void Client_Exit PARAMS(( void ));
|
GLOBAL void Client_Exit PARAMS(( void ));
|
||||||
|
|
||||||
@ -136,6 +147,9 @@ GLOBAL long Client_MyMaxUserCount PARAMS(( void ));
|
|||||||
|
|
||||||
GLOBAL bool Client_IsValidNick PARAMS(( char *Nick ));
|
GLOBAL bool Client_IsValidNick PARAMS(( char *Nick ));
|
||||||
|
|
||||||
|
GLOBAL WHOWAS *Client_GetWhowas PARAMS(( void ));
|
||||||
|
GLOBAL int Client_GetLastWhowasIndex PARAMS(( void ));
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user