#define CONF_OPERATOR 0x0020 /**< ConfItem describes an Operator block */
#define CONF_UWORLD 0x8000 /**< ConfItem describes a Uworld server */
#define CONF_OPERATOR 0x0020 /**< ConfItem describes an Operator block */
#define CONF_UWORLD 0x8000 /**< ConfItem describes a Uworld server */
/** Indicates ConfItem types that count associated clients. */
#define CONF_CLIENT_MASK (CONF_CLIENT | CONF_OPERATOR | CONF_SERVER)
/** Indicates ConfItem types that count associated clients. */
#define CONF_CLIENT_MASK (CONF_CLIENT | CONF_OPERATOR | CONF_SERVER)
time_t hold; /**< Earliest time to attempt an outbound
connect on this ConfItem. */
int dns_pending; /**< A dns request is pending. */
time_t hold; /**< Earliest time to attempt an outbound
connect on this ConfItem. */
int dns_pending; /**< A dns request is pending. */
int addrbits; /**< Number of bits valid in ConfItem::address. */
struct Privs privs; /**< Privileges for opers. */
/** Used to detect if a privilege has been set by this ConfItem. */
int addrbits; /**< Number of bits valid in ConfItem::address. */
struct Privs privs; /**< Privileges for opers. */
/** Used to detect if a privilege has been set by this ConfItem. */
char* message; /**< Message to send to denied users. */
char* usermask; /**< Mask for client's username. */
char* message; /**< Message to send to denied users. */
char* usermask; /**< Mask for client's username. */
struct irc_in_addr address; /**< Address for IP-based denies. */
unsigned int flags; /**< Interpretation flags for the above. */
unsigned char bits; /**< Number of bits for ipkills */
};
#define DENY_FLAGS_FILE 0x0001 /**< Comment is a filename */
struct irc_in_addr address; /**< Address for IP-based denies. */
unsigned int flags; /**< Interpretation flags for the above. */
unsigned char bits; /**< Number of bits for ipkills */
};
#define DENY_FLAGS_FILE 0x0001 /**< Comment is a filename */
char* location1; /**< First line of location information. */
char* location2; /**< Second line of location information. */
char* contact; /**< Admin contact information. */
char* location1; /**< First line of location information. */
char* location2; /**< Second line of location information. */
char* contact; /**< Admin contact information. */
extern const char *find_quarantine(const char* chname);
extern void lookup_confhost(struct ConfItem *aconf);
extern void conf_parse_userhost(struct ConfItem *aconf, char *host);
extern const char *find_quarantine(const char* chname);
extern void lookup_confhost(struct ConfItem *aconf);
extern void conf_parse_userhost(struct ConfItem *aconf, char *host);