From 5126638d46398579c26d3c7bd908fe17b8508b13 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Fri, 19 Feb 2021 18:30:53 +0100 Subject: battery calc and unstable levels --- json/jsonparse.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'json/jsonparse.h') diff --git a/json/jsonparse.h b/json/jsonparse.h index 2186154..87a8960 100644 --- a/json/jsonparse.h +++ b/json/jsonparse.h @@ -12,24 +12,5 @@ void json_parse_array(char *json, void *temp, jsmntok_t *t, int r, char type); void json_dump_array (char *str, void *arr, int len, char type); int json_parse_subtokens (char *json, jsmntok_t *t, int r, int i); -/* -typedef struct { char key[32]; int i; } pair_ci; -typedef struct { char key[32]; float i; } pair_cf; - - -int json_parse_dict_ci_init (char *json, pair_ci *dict, jsmntok_t *t, int r); -int json_parse_dict_cf_init (char *json, pair_cf *dict, jsmntok_t *t, int r); -int json_parse_dict_ci (char *json, pair_ci *dict); -int json_parse_dict_cf (char *json, pair_cf *dict); - -#define MAXLISTLEN 64 -#define MAXOBJLEN 32 - -typedef struct { pair_ci pairs[MAXOBJLEN]; int len; } list_ci; -typedef struct { pair_cf pairs[MAXOBJLEN]; int len; } list_cf; - -int json_parse_list_ci (char *json, list_ci *list); -int json_parse_list_cf (char *json, list_cf *list); -*/ #endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf