Browse Source

:tada: Ajout fichier de constante

Arthur Brandao 6 years ago
parent
commit
9f721e9e7b
1 changed files with 22 additions and 3 deletions
  1. 22 3
      Serveur/constante.h

+ 22 - 3
Serveur/constante.h

@@ -1,9 +1,28 @@
-#ifndef BOOLEAN_H
-#define BOOLEAN_H
+/* 
+ * File:   constante.h
+ * Author: Arthur Brandao
+ *
+ * Created on 31 octobre 2018
+ */
 
+#ifndef CONSTANTE_H
+#define CONSTANTE_H
+
+/* --- General --- */
+#define BUFFER_SIZE 512
+
+/* --- Fichier --- */
+#define STDIN 0
+#define STDOUT 1
+#define STDERR 2
+
+/* --- Boolean --- */
 #define boolean int
 #define true 1
 #define false 0
 
-#endif /* BOOLEAN_H */
+/* --- Null --- */
+#define null NULL
+
+#endif /* CONSTANTE_H */