summaryrefslogtreecommitdiff
path: root/include/entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entry.h')
-rw-r--r--include/entry.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/entry.h b/include/entry.h
new file mode 100644
index 0000000..51e43ca
--- /dev/null
+++ b/include/entry.h
@@ -0,0 +1,28 @@
+#ifndef ENTRY_H
+#define ENTRY_H
+
+typedef struct entry ENTRY;
+
+ENTRY *create_entry(char *new_name, char *new_path, bool force);
+
+void entry_rm(ENTRY *e, ENTRY *prev);
+
+void clear_entries(ENTRY *head);
+
+int entry_add(ENTRY *head, 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 set_hide(ENTRY *e, bool status);
+
+bool get_hide(ENTRY *e);
+
+void entry_debug(ENTRY *trav);
+
+#endif