summaryrefslogtreecommitdiff
path: root/src/include/entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/entry.h')
-rw-r--r--src/include/entry.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/entry.h b/src/include/entry.h
new file mode 100644
index 0000000..51e43ca
--- /dev/null
+++ b/src/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