1*ea3d8a41SMatt Spinler #ifndef __GPIO_JSON_H__
2*ea3d8a41SMatt Spinler #define __GPIO_JSON_H__
3*ea3d8a41SMatt Spinler 
4*ea3d8a41SMatt Spinler #include <cjson/cJSON.h>
5*ea3d8a41SMatt Spinler 
6*ea3d8a41SMatt Spinler /**
7*ea3d8a41SMatt Spinler  * Loads the GPIO definitions from JSON into a cJSON structure.
8*ea3d8a41SMatt Spinler  *
9*ea3d8a41SMatt Spinler  * @return cjSON* - The structure with the GPIO info.  Should be freed
10*ea3d8a41SMatt Spinler  *                  with cJSON_Delete() when done.  NULL is returned
11*ea3d8a41SMatt Spinler  *                  if there was an error.
12*ea3d8a41SMatt Spinler  */
13*ea3d8a41SMatt Spinler cJSON* load_json();
14*ea3d8a41SMatt Spinler 
15*ea3d8a41SMatt Spinler #endif
16