summary refs log tree commit diff
path: root/ircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ircd.h')
-rw-r--r--ircd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ircd.h b/ircd.h
index 0cde9e0..1f5bba8 100644
--- a/ircd.h
+++ b/ircd.h
@@ -38,7 +38,7 @@ struct Message
 struct Peer
 {
 	int fd;
-	enum ClientType { UNREGD, CLIENT, SERVER, SERVICE } type;
+	enum ClientType { UNREGD, CLIENT, CONFIG, SERVER, SERVICE } type;
 	char nick[PEER_NICK_MAX], user[PEER_USER_MAX], real[PEER_REAL_MAX], host[PEER_HOST_MAX];
 	struct Channel *channels[PEER_CHANNELS_MAX];
 	enum PeerStatus {
@@ -80,6 +80,10 @@ extern size_t channels_c, peers_c;
 extern const char *hostname;
 extern const char *host;
 extern unsigned long port;
+extern char creation[CREATION_MAX];
+extern char info[INFO_MAX];
+
+int readcfg(const char *path);
 
 const char *getnick(const struct Peer *peer);
 enum PeerMode user_mode(char m);