/usr/include/irssi/src/irc/core/irc-chatnets.h is in irssi-dev 1.0.5-1ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #ifndef __IRC_CHATNETS_H
#define __IRC_CHATNETS_H
#include "chat-protocols.h"
#include "chatnets.h"
/* returns IRC_CHATNET_REC if it's IRC network, NULL if it isn't */
#define IRC_CHATNET(chatnet) \
PROTO_CHECK_CAST(CHATNET(chatnet), IRC_CHATNET_REC, chat_type, "IRC")
#define IS_IRC_CHATNET(chatnet) \
(IRC_CHATNET(chatnet) ? TRUE : FALSE)
#define IS_IRCNET(ircnet) IS_IRC_CHATNET(ircnet)
#define IRCNET(ircnet) IRC_CHATNET(ircnet)
struct _IRC_CHATNET_REC {
#include "chatnet-rec.h"
char *usermode;
char *sasl_mechanism;
char *sasl_username;
char *sasl_password;
int max_cmds_at_once;
int cmd_queue_speed;
int max_query_chans; /* when syncing, max. number of channels to put in one MODE/WHO command */
/* max. number of kicks/msgs/mode/whois per command */
int max_kicks, max_msgs, max_modes, max_whois;
};
void ircnet_create(IRC_CHATNET_REC *rec);
#define irc_chatnet_find(name) \
IRC_CHATNET(chatnet_find(name))
#define ircnet_find(name) irc_chatnet_find(name)
void irc_chatnets_init(void);
void irc_chatnets_deinit(void);
#endif
|