summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'entry.c')
-rw-r--r--entry.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/entry.c b/entry.c
index 7431b64..a74f18e 100644
--- a/entry.c
+++ b/entry.c
@@ -17,10 +17,13 @@ typedef struct entry{
} ENTRY;
ENTRY *create_entry(char *new_name, char *new_path, bool force);
+void entry_rm(ENTRY *e);
ENTRY *entry_add_last(ENTRY *tail, ENTRY *add);
ENTRY **get_entries(ENTRY *head, int count);
char *get_ename(ENTRY *e);
char *get_epath(ENTRY *e);
+bool get_eforce(ENTRY *e);
+void entry_debug(ENTRY *trav);
ENTRY *create_entry(char *new_name, char *new_path, bool force){
ENTRY *new;
@@ -35,6 +38,11 @@ ENTRY *create_entry(char *new_name, char *new_path, bool force){
return new;
}
+void entry_rm(ENTRY *e){
+ assert(e != NULL);
+ free(e);
+}
+
ENTRY *entry_add_last(ENTRY *tail, ENTRY *add){
assert(add != NULL);