summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-11 15:01:22 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-11 15:01:22 +0100
commitc46d01b5afd2da4779efb2700469037eca6122be (patch)
tree9db52afe3643c0643414dcf638fa579176b62487 /config.h
parentd950304536f870ad989e0049e4e8b4a5a72a9315 (diff)
Implement a configuration file reader, an example configuration file, and start reading nick/username/realname from it instead of being statically defined.
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..5307178
--- /dev/null
+++ b/config.h
@@ -0,0 +1,12 @@
+#ifndef CONFIG_H_INCLUDED
+#define CONFIG_H_INCLUDED
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#define MAXCHAR 1000
+
+int readnames(char *nick, char *username, char *realname);
+
+#endif