From 1719796a3a10eccf91eadb38c019829110e96294 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Fri, 29 Jun 2018 11:20:51 +0800 Subject: update get_devices --- util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index ab0b158..b38338f 100644 --- a/util.h +++ b/util.h @@ -1,6 +1,8 @@ #ifndef LIBMC_UTIL_H #define LIBMC_UTIL_H +#include + #ifdef __cplusplus extern "C" { #endif /* } */ @@ -10,6 +12,8 @@ extern "C" { * @note callers should call free() to free the returned C string */ char * alloc_build_string(const char *ss[]); +const char *json_gets(json_object *j, const char *key); +char *json_gets_dup(json_object *j, const char *key); #ifdef __cplusplus } -- cgit v1.2.3