*
* srvx is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* srvx is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#define MODE_OPERSONLY 0x00080000 /* +O Opers only */
#define MODE_NOQUITMSGS 0x00100000 /* +Q suppress messages from quit notices */
#define MODE_NOAMSG 0x00200000 /* +T no multi-target messages */
#define MODE_OPERSONLY 0x00080000 /* +O Opers only */
#define MODE_NOQUITMSGS 0x00100000 /* +Q suppress messages from quit notices */
#define MODE_NOAMSG 0x00200000 /* +T no multi-target messages */
unsigned int dead : 1; /* Is user waiting to be recycled? */
struct in_addr ip; /* User's IP address */
long modes; /* user flags +isw etc... */
unsigned int dead : 1; /* Is user waiting to be recycled? */
struct in_addr ip; /* User's IP address */
long modes; /* user flags +isw etc... */
typedef void (*account_func_t) (struct userNode *user, const char *stamp);
void reg_account_func(account_func_t handler);
void call_account_func(struct userNode *user, const char *stamp);
typedef void (*account_func_t) (struct userNode *user, const char *stamp);
void reg_account_func(account_func_t handler);
void call_account_func(struct userNode *user, const char *stamp);
void assign_fakehost(struct userNode *user, const char *host, int announce);
typedef void (*new_channel_func_t) (struct chanNode *chan);
void assign_fakehost(struct userNode *user, const char *host, int announce);
typedef void (*new_channel_func_t) (struct chanNode *chan);
typedef int (*topic_func_t)(struct userNode *who, struct chanNode *chan, const char *old_topic);
void reg_topic_func(topic_func_t handler);
void SetChannelTopic(struct chanNode *channel, struct userNode *user, const char *topic, int announce);
typedef int (*topic_func_t)(struct userNode *who, struct chanNode *chan, const char *old_topic);
void reg_topic_func(topic_func_t handler);
void SetChannelTopic(struct chanNode *channel, struct userNode *user, const char *topic, int announce);