config.h config file to centralize default values

This commit is contained in:
Arthur-Coppey
2021-11-26 13:56:48 +01:00
parent 79830a9745
commit b869bbbc27
6 changed files with 17 additions and 7 deletions
+12
View File
@@ -0,0 +1,12 @@
//
// Created by k0rb4k on 26/11/2021.
//
#ifndef QOTD_CONFIG_H
#define QOTD_CONFIG_H
#define QUOTES_FILE "./quotes.txt"
#define MESSAGE_STRING_LENGTH 2048
#define DEFAULT_LISTEN_PORT 17 // should be 17 to be RFC compliant
#endif //QOTD_CONFIG_H