aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 90f44dcb..dbb39f5b 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -24,6 +24,11 @@ struct double_list {
char *data;
};
+struct ptr_len {
+ void *ptr;
+ long len;
+};
+
void llist_free_arg(void *node);
void llist_free_double(void *node);
void llist_traverse(void *list, void (*using)(void *node));