X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn-func.h;h=37f70363a8b24c1221798442be74c35ef2acf672;hp=9f23edc810013cb24b671c6f97f00358cde8badb;hb=HEAD;hpb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c diff --git a/src/ngircd/conn-func.h b/src/ngircd/conn-func.h index 9f23edc8..37f70363 100644 --- a/src/ngircd/conn-func.h +++ b/src/ngircd/conn-func.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __conn_func_h__ #define __conn_func_h__ @@ -30,7 +29,9 @@ #endif -GLOBAL void Conn_UpdateIdle PARAMS(( CONN_ID Idx )); +GLOBAL void Conn_UpdateIdle PARAMS((CONN_ID Idx)); +GLOBAL void Conn_UpdatePing PARAMS((CONN_ID Idx, time_t TimeStamp)); + GLOBAL time_t Conn_GetSignon PARAMS((CONN_ID Idx)); GLOBAL time_t Conn_GetIdle PARAMS(( CONN_ID Idx )); GLOBAL time_t Conn_LastPing PARAMS(( CONN_ID Idx )); @@ -44,7 +45,6 @@ GLOBAL long Conn_RecvBytes PARAMS(( CONN_ID Idx )); GLOBAL const char *Conn_IPA PARAMS(( CONN_ID Idx )); GLOBAL void Conn_SetPenalty PARAMS(( CONN_ID Idx, time_t Seconds )); -GLOBAL void Conn_ResetPenalty PARAMS(( CONN_ID Idx )); GLOBAL void Conn_ClearFlags PARAMS(( void )); GLOBAL int Conn_Flag PARAMS(( CONN_ID Idx ));