1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00
irssi/src/irc/core/irc-servers-setup.h

27 lines
590 B
C
Raw Normal View History

#ifndef __IRC_SERVERS_SETUP_H
#define __IRC_SERVERS_SETUP_H
#include "chat-protocols.h"
#include "servers-setup.h"
#define IRC_SERVER_SETUP(server) \
PROTO_CHECK_CAST(SERVER_SETUP(server), IRC_SERVER_SETUP_REC, \
chat_type, "IRC")
#define IS_IRC_SERVER_SETUP(server) \
(IRC_SERVER_SETUP(server) ? TRUE : FALSE)
typedef struct {
#include "server-setup-rec.h"
/* override the default if > 0 */
int max_cmds_at_once;
int cmd_queue_speed;
int max_query_chans;
} IRC_SERVER_SETUP_REC;
void irc_servers_setup_init(void);
void irc_servers_setup_deinit(void);
#endif