add configparser

This commit is contained in:
jonathan santis
2025-05-13 16:55:07 +02:00
parent 631fc8322a
commit 4c2e79638d
4 changed files with 78 additions and 59 deletions

3
test.c
View File

@@ -1,6 +1,7 @@
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "file.h"
int main(void)
@@ -56,6 +57,8 @@ int main(void)
else {
printf("Error on getFile:%d\n",ret);
}
parseConfig(content,&entry,sizeEntry);