summaryrefslogtreecommitdiffstats
path: root/src/utils/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/list.h')
-rw-r--r--src/utils/list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/list.h b/src/utils/list.h
index 7cacbed..9f93cb6 100644
--- a/src/utils/list.h
+++ b/src/utils/list.h
@@ -29,6 +29,7 @@ struct list {
void destroy_list(struct list *l);
void add_elt(struct list **l, const char *key, json_object *value);
void add_key(struct list **l, const char *key);
+int set_value(struct list *l, json_object *val, int index);
struct list *get_elt(struct list *l, int index);
struct list *find_elt_from_key(struct list *l, const char *key);
json_object *find_key_value(struct list *l, const char *key);