summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channel.h2
-rw-r--r--include/conf.h3
-rw-r--r--include/ircd_defs.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/include/channel.h b/include/channel.h
index d81dac8..bf7b9ad 100644
--- a/include/channel.h
+++ b/include/channel.h
@@ -116,7 +116,7 @@ extern void check_spambot_warning(struct Client *, const char *);
extern void check_splitmode(void *);
extern void free_channel_list(dlink_list *);
extern void destroy_channel(struct Channel *);
-extern void set_channel_topic(struct Channel *, const char *, const char *, time_t);
+extern void set_channel_topic(struct Channel *, const char *, const char *, time_t, int);
extern const char *get_member_status(const struct Membership *, int);
diff --git a/include/conf.h b/include/conf.h
index b176cff..16555f5 100644
--- a/include/conf.h
+++ b/include/conf.h
@@ -300,6 +300,8 @@ struct server_info
struct irc_ssaddr ip;
struct irc_ssaddr ip6;
unsigned int max_clients;
+ unsigned int max_nick_length;
+ unsigned int max_topic_length;
int specific_ipv4_vhost;
int specific_ipv6_vhost;
struct sockaddr_in dns_host;
@@ -360,6 +362,7 @@ extern struct MaskItem *find_exact_name_conf(enum maskitem_type, const struct Cl
extern void conf_free(struct MaskItem *);
extern void report_confitem_types(struct Client *, enum maskitem_type);
extern void yyerror(const char *);
+extern void conf_error_report(const char *);
extern void cleanup_tklines(void *);
extern int rehash(int);
extern void lookup_confhost(struct MaskItem *);
diff --git a/include/ircd_defs.h b/include/ircd_defs.h
index 55215eb..2756ea1 100644
--- a/include/ircd_defs.h
+++ b/include/ircd_defs.h
@@ -38,6 +38,7 @@
#define IRCD_BUFSIZE 512 /* WARNING: *DONT* CHANGE THIS!!!! */
#define HOSTLEN 63 /* Length of hostname. Updated to comply
with RFC 1123 */
+#define NICKLEN 30
#define USERLEN 10
#define PORTNAMELEN 6 /* ":31337" */
@@ -49,6 +50,7 @@
#define KILLLEN 90
#define LOCAL_CHANNELLEN 50
#define CHANNELLEN 200
+#define TOPICLEN 300
#define REASONLEN 120
#define KICKLEN 160
#define AWAYLEN 160