blob: b966c9855f1031cc45779c34303205bd1d553aed [file] [log] [blame]
Matt Spinlerea3d8a42018-08-07 13:29:34 -05001#ifndef __GPIO_JSON_H__
2#define __GPIO_JSON_H__
3
4#include <cjson/cJSON.h>
5
6/**
7 * Loads the GPIO definitions from JSON into a cJSON structure.
8 *
9 * @return cjSON* - The structure with the GPIO info. Should be freed
10 * with cJSON_Delete() when done. NULL is returned
11 * if there was an error.
12 */
13cJSON* load_json();
14
15#endif