summaryrefslogtreecommitdiffstats
path: root/libopenbmc_intf/gpio_json.h
blob: b966c9855f1031cc45779c34303205bd1d553aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __GPIO_JSON_H__
#define __GPIO_JSON_H__

#include <cjson/cJSON.h>

/**
 * Loads the GPIO definitions from JSON into a cJSON structure.
 *
 * @return cjSON* - The structure with the GPIO info.  Should be freed
 *                  with cJSON_Delete() when done.  NULL is returned
 *                  if there was an error.
 */
cJSON* load_json();

#endif
OpenPOWER on IntegriCloud