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:26:11 +0200
commit506b4eea8641e69ccf1ad35c185346299019afda (patch)
tree67e16baca9188012049e829fe6ba8e74d721ad9b /list.h
parentb1a17ab16492b1ebb13e2d696b2f121a85fa71ba (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 80c0128..225f54f 100644
--- a/list.h
+++ b/list.h
@@ -28,6 +28,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);