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=1d05acc88d5623979a371e80aedc3f4a61e480c8;hp=9a1859d38ce7a15684526016133b72bda43cbb0c;hb=00249f3c805ec0b4564901dce0f3a7b0c20ce439;hpb=a5735f68d7dd8cc7b106e0183b44002785dd8425 diff --git a/src/ngircd/conn-func.h b/src/ngircd/conn-func.h index 9a1859d3..1d05acc8 100644 --- a/src/ngircd/conn-func.h +++ b/src/ngircd/conn-func.h @@ -7,14 +7,15 @@ * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. - * - * Connection management: Global functions (header) */ - #ifndef __conn_func_h__ #define __conn_func_h__ +/** + * @file + * Connection management: Global functions (header) + */ /* Include the header conn.h if this header is _not_ included by any module * containing connection handling functions. So other modules must only @@ -28,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)); + 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 )); @@ -39,9 +42,9 @@ GLOBAL long Conn_SendMsg PARAMS(( CONN_ID Idx )); GLOBAL long Conn_RecvMsg PARAMS(( CONN_ID Idx )); GLOBAL long Conn_SendBytes PARAMS(( CONN_ID Idx )); 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 ));