diff options
Diffstat (limited to 'src/list.h')
-rw-r--r-- | src/list.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,8 +28,12 @@ typedef void (*printer)(void *); typedef printer acter; /* a type that can act on list elements */ +typedef void (*doer)(void); + void map_list(List *ls, acter f); +void map_list_between(List *ls, acter f, doer d); + void print_list(List *ls, printer prt); /* COPYER is expected to return NULL when it fails to copy. */ |