X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=list.h;h=225f54f74af9e2fa44490e991c98e67572d23c52;hb=refs%2Fheads%2Fmaint-1.6;hp=80c0128d8e99fb547cfe179cbc97c28e8572fc88;hpb=eff1f8d633fa2b07396e1d1f82043823d6916ba2;p=radsecproxy.git 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);