]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.h
Re-format Init_New_Client() function
[ngircd-alex.git] / src / ngircd / conf.h
index 2308e4cbb83d3844c9baf8b01b3ab07afb05ef31..0180515569dcbf5515211437776a3a25a460fca3 100644 (file)
 #include "conf-ssl.h"
 
 
-typedef struct _Conf_Oper
-{
+struct Conf_Oper {
        char name[CLIENT_PASS_LEN];     /* Name (ID) of IRC operator */
        char pwd[CLIENT_PASS_LEN];      /* Password */
-       char *mask;
-} CONF_OPER;
+       char *mask;                     /* allowed host mask */
+};
 
 typedef struct _Conf_Server
 {
@@ -125,8 +124,7 @@ GLOBAL int Conf_PongTimeout;
 GLOBAL int Conf_ConnectRetry;
 
 /* Operators */
-GLOBAL CONF_OPER Conf_Oper[MAX_OPERATORS];
-GLOBAL unsigned int Conf_Oper_Count;
+GLOBAL array Conf_Opers;
 
 /* Servers */
 GLOBAL CONF_SERVER Conf_Server[MAX_SERVERS];