~ubuntu-branches/ubuntu/hardy/irssi/hardy-updates

« back to all changes in this revision

Viewing changes to src/irc/core/irc-servers-setup.h

  • Committer: Bazaar Package Importer
  • Author(s): David Pashley
  • Date: 2005-12-10 21:25:51 UTC
  • Revision ID: james.westby@ubuntu.com-20051210212551-5qwm108g7inyu2f2
Tags: upstream-0.8.10
ImportĀ upstreamĀ versionĀ 0.8.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __IRC_SERVERS_SETUP_H
 
2
#define __IRC_SERVERS_SETUP_H
 
3
 
 
4
#include "chat-protocols.h"
 
5
#include "servers-setup.h"
 
6
 
 
7
#define IRC_SERVER_SETUP(server) \
 
8
        PROTO_CHECK_CAST(SERVER_SETUP(server), IRC_SERVER_SETUP_REC, \
 
9
                         chat_type, "IRC")
 
10
 
 
11
#define IS_IRC_SERVER_SETUP(server) \
 
12
        (IRC_SERVER_SETUP(server) ? TRUE : FALSE)
 
13
 
 
14
typedef struct {
 
15
#include "server-setup-rec.h"
 
16
 
 
17
        /* override the default if > 0 */
 
18
        int max_cmds_at_once;
 
19
        int cmd_queue_speed;
 
20
        int max_query_chans;
 
21
} IRC_SERVER_SETUP_REC;
 
22
 
 
23
void irc_servers_setup_init(void);
 
24
void irc_servers_setup_deinit(void);
 
25
 
 
26
#endif