From 40a6bba7765b661303ed0e1e6f6f7319e344ce08 Mon Sep 17 00:00:00 2001 From: louie Date: Mon, 13 Jul 2020 15:09:01 -0700 Subject: Fixed entry deletion, added addR option --- entry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'entry.h') diff --git a/entry.h b/entry.h index 6bc6163..bcefc04 100644 --- a/entry.h +++ b/entry.h @@ -5,7 +5,9 @@ typedef struct entry ENTRY; ENTRY *create_entry(char *new_name, char *new_path, bool force); -void entry_rm(ENTRY *e); +void entry_rm(ENTRY *e, ENTRY *prev); + +void clear_entries(ENTRY *head); ENTRY *entry_add_last(ENTRY *tail, ENTRY *add); -- cgit