2019-05-01 22:22:22 +02:00
|
|
|
#ifndef IRSSI_IRC_CORE_IRC_SERVERS_SETUP_H
|
|
|
|
|
#define IRSSI_IRC_CORE_IRC_SERVERS_SETUP_H
|
2000-08-26 15:39:44 +00:00
|
|
|
|
2019-05-01 16:33:47 +02:00
|
|
|
#include <irssi/src/core/chat-protocols.h>
|
|
|
|
|
#include <irssi/src/core/servers-setup.h>
|
2000-08-26 15:39:44 +00:00
|
|
|
|
|
|
|
|
#define IRC_SERVER_SETUP(server) \
|
2000-09-01 00:26:46 +00:00
|
|
|
PROTO_CHECK_CAST(SERVER_SETUP(server), IRC_SERVER_SETUP_REC, \
|
|
|
|
|
chat_type, "IRC")
|
2000-08-30 22:29:55 +00:00
|
|
|
|
|
|
|
|
#define IS_IRC_SERVER_SETUP(server) \
|
|
|
|
|
(IRC_SERVER_SETUP(server) ? TRUE : FALSE)
|
2000-08-26 15:39:44 +00:00
|
|
|
|
|
|
|
|
typedef struct {
|
2019-05-01 16:33:47 +02:00
|
|
|
#include <irssi/src/core/server-setup-rec.h>
|
2000-12-09 19:12:49 +00:00
|
|
|
|
|
|
|
|
/* override the default if > 0 */
|
|
|
|
|
int max_cmds_at_once;
|
|
|
|
|
int cmd_queue_speed;
|
|
|
|
|
int max_query_chans;
|
2000-08-26 15:39:44 +00:00
|
|
|
} IRC_SERVER_SETUP_REC;
|
|
|
|
|
|
|
|
|
|
void irc_servers_setup_init(void);
|
|
|
|
|
void irc_servers_setup_deinit(void);
|
|
|
|
|
|
|
|
|
|
#endif
|