]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn.c
Merge branch 'AuthPing'
[ngircd-alex.git] / src / ngircd / conn.c
index 9d17a7382ff5283d34e5b0677790df1a5c2071f9..cc4364c4635b8e55c7fb04ba9da3ce29d40d27f7 100644 (file)
@@ -2303,6 +2303,25 @@ Conn_GetFromProc(int fd)
 } /* Conn_GetFromProc */
 
 
+#ifndef STRICT_RFC
+
+GLOBAL long
+Conn_GetAuthPing(CONN_ID Idx)
+{
+       assert (Idx != NONE);
+       return My_Connections[Idx].auth_ping;
+} /* Conn_GetAuthPing */
+
+GLOBAL void
+Conn_SetAuthPing(CONN_ID Idx, long ID)
+{
+       assert (Idx != NONE);
+       My_Connections[Idx].auth_ping = ID;
+} /* Conn_SetAuthPing */
+
+#endif
+
+
 #ifdef SSL_SUPPORT
 
 /**