Modifiche e correzioni generali ai assisted
This commit is contained in:
1 parent
05237cc7f1
commit
c6543cc583
13 files changed
+1645
-321
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#ifndef JSONFILE_H
|
||||
#define JSONFILE_H
|
||||
|
||||
#include <json-c/json.h>
|
||||
|
||||
int existsFile(const char *fname);
|
||||
int createFile(const char *fname);
|
||||
int renameDataFile(const char *oldName, const char *newName);
|
||||
|
||||
json_object *loadJsonArray(const char *fname);
|
||||
int saveJsonArray(const char *fname, json_object *arr);
|
||||
|
||||
json_object *findItemByName(json_object *arr, const char *name);
|
||||
int removeItemByName(json_object *arr, const char *name);
|
||||
int renameItemByName(json_object *arr, const char *oldName, const char *newName);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user