Kaynağa Gözat

:tada: Ajout fichier encodeur JSON

Arthur Brandao 6 yıl önce
ebeveyn
işleme
83530a90a4
2 değiştirilmiş dosya ile 12 ekleme ve 1 silme
  1. 10 0
      Serveur/json_encoder.c
  2. 2 1
      Serveur/makefile

+ 10 - 0
Serveur/json_encoder.c

@@ -0,0 +1,10 @@
+/* 
+ * File:   json_parser.c
+ * Author: Arthur Brandao
+ *
+ * Created on 29 octobre 2018
+ */
+#include <stdio.h>
+#include <stdlib.h>
+#include "json.h"
+

+ 2 - 1
Serveur/makefile

@@ -3,7 +3,7 @@
 #
 
 EXEC = main
-OBJETS = json_parser.o
+OBJETS = json_parser.o json_encoder.o
 NOM_PROJET = Porjet Reseau
 
 #
@@ -89,4 +89,5 @@ archive: clean
 
 # DEPENDANCES
 json_parser.o: json_parser.c json.h boolean.h
+json_encoder.o: json_encoder.c json.h boolean.h
 main.o: main.c json.h boolean.h