2000-08-26 11:39:44 -04:00
|
|
|
#ifndef __IRC_SERVERS_SETUP_H
|
|
|
|
#define __IRC_SERVERS_SETUP_H
|
|
|
|
|
2000-08-31 20:26:46 -04:00
|
|
|
#include "chat-protocols.h"
|
|
|
|
#include "servers-setup.h"
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
#define IRC_SERVER_SETUP(server) \
|
2000-08-31 20:26:46 -04:00
|
|
|
PROTO_CHECK_CAST(SERVER_SETUP(server), IRC_SERVER_SETUP_REC, \
|
|
|
|
chat_type, "IRC")
|
2000-08-30 18:29:55 -04:00
|
|
|
|
|
|
|
#define IS_IRC_SERVER_SETUP(server) \
|
|
|
|
(IRC_SERVER_SETUP(server) ? TRUE : FALSE)
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
#include "server-setup-rec.h"
|
2000-12-09 14:12:49 -05:00
|
|
|
|
|
|
|
/* override the default if > 0 */
|
|
|
|
int max_cmds_at_once;
|
|
|
|
int cmd_queue_speed;
|
|
|
|
int max_query_chans;
|
2000-08-26 11:39:44 -04:00
|
|
|
} IRC_SERVER_SETUP_REC;
|
|
|
|
|
|
|
|
void irc_servers_setup_init(void);
|
|
|
|
void irc_servers_setup_deinit(void);
|
|
|
|
|
|
|
|
#endif
|