From c46d01b5afd2da4779efb2700469037eca6122be Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 11 May 2019 15:01:22 +0100 Subject: Implement a configuration file reader, an example configuration file, and start reading nick/username/realname from it instead of being statically defined. --- config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config.h (limited to 'config.h') 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 +#include +#include + +#define MAXCHAR 1000 + +int readnames(char *nick, char *username, char *realname); + +#endif -- cgit v1.2.3