summaryrefslogtreecommitdiff
path: root/entry.h
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-07-13 15:09:01 -0700
committerlouie <lshprung@yahoo.com>2020-07-13 15:09:01 -0700
commit40a6bba7765b661303ed0e1e6f6f7319e344ce08 (patch)
treed5e99caeb36c6bb9300a43efd1a11201534499ea /entry.h
parent2d08a7dbceac846f54cba6b0b75b0de1542df707 (diff)
Fixed entry deletion, added addR option
Diffstat (limited to 'entry.h')
-rw-r--r--entry.h4
1 files changed, 3 insertions, 1 deletions
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);