summaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-08-28 13:48:49 +0200
committerLinus Nordberg <linus@nordberg.se>2013-09-05 15:15:32 +0200
commit33a3b21fa6926e8cbe61725dd80d258951766e2f (patch)
treee96b714d24571395a9a93adcc958af933b878431 /list.h
parente0b805508ae91a82c1992bdf35db5efcd89cfd6d (diff)
Keep Proxy-State attributes in all replies to clients.
Closes RADSECPROXY-52.
Diffstat (limited to 'list.h')
-rw-r--r--list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/list.h b/list.h
index d9c5199..38169c7 100644
--- a/list.h
+++ b/list.h
@@ -23,6 +23,9 @@ struct list *list_create();
/* frees all memory associated with the list */
void list_destroy(struct list *list);
+/* frees memory allocated for the list itself */
+void list_free(struct list *list);
+
/* appends entry to list; returns 1 if ok, 0 if malloc fails */
int list_push(struct list *list, void *data);