X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconf.h;h=bb9a00b348f6d538c2a7a4fe3a90f8e43246878c;hp=9c38e08b4fa1fc7db22adfd5c727cf858b3a03eb;hb=058d3085a955ae9385a27b6b33ee173b5d95fdfa;hpb=0570e13cace455a5058a508d0de22b54406288cd diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h index 9c38e08b..bb9a00b3 100644 --- a/src/ngircd/conf.h +++ b/src/ngircd/conf.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: conf.h,v 1.38 2005/11/21 16:31:30 alex Exp $ + * $Id: conf.h,v 1.41 2006/11/05 13:03:48 fw Exp $ * * Configuration management (header) */ @@ -40,7 +40,7 @@ typedef struct _Conf_Server UINT16 port; /* Server port */ int group; /* Group of server */ time_t lasttry; /* Last connect attempt */ - RES_STAT *res_stat; /* Status of the resolver */ + RES_STAT res_stat; /* Status of the resolver */ int flags; /* Flags */ CONN_ID conn_id; /* ID of server connection or NONE */ } CONF_SERVER; @@ -84,8 +84,8 @@ GLOBAL array Conf_ListenPorts; GLOBAL char Conf_ListenAddress[16]; /* User and group ID the server should run with */ -GLOBAL unsigned int Conf_UID; -GLOBAL unsigned int Conf_GID; +GLOBAL uid_t Conf_UID; +GLOBAL gid_t Conf_GID; /* A directory to chroot() in */ GLOBAL char Conf_Chroot[FNAME_LEN]; @@ -110,6 +110,8 @@ GLOBAL CONF_SERVER Conf_Server[MAX_SERVERS]; /* Pre-defined channels */ GLOBAL CONF_CHANNEL Conf_Channel[MAX_DEFCHANNELS]; GLOBAL unsigned int Conf_Channel_Count; +/* Pre-defined channels only */ +GLOBAL bool Conf_PredefChannelsOnly; /* Are IRC operators allowed to always use MODE? */ GLOBAL bool Conf_OperCanMode;