Преглед изворни кода

:tada: Ajout fichier de constante

Arthur Brandao пре 6 година
родитељ
комит
9f721e9e7b
1 измењених фајлова са 22 додато и 3 уклоњено
  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 */