Removing jansson, the library won't parse json anymore

This commit is contained in:
synt-xerror
2026-02-19 02:18:43 -03:00
parent 7cdac92582
commit 832bb88ecd
3 changed files with 261 additions and 0 deletions

14
neocities.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef NEOCITIES_H
#define NEOCITIES_H
#include <stddef.h>
// -------------------------
// API functions
// -------------------------
int neocities_info(const char *sitename, char **out);
int neocities_list(const char *api_key, const char *path, char **out);
int neocities_delete(const char *api_key, const char **filenames, size_t count, char **response);
int neocities_upload(const char *api_key, const char **local_files, const char **remote_names, size_t count, char **response);
#endif // NEOCITIES_H