summaryrefslogtreecommitdiff
path: root/include/entry.h
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-28 15:34:29 -0800
committerlouie <lshprung@yahoo.com>2020-12-28 15:34:29 -0800
commitb8209a2349ffb2153e0c17f43412f2c9906aa8d0 (patch)
treea816b35e8c38b64aad1c00e6ae6a68a00aa282f0 /include/entry.h
parent9fa266e62dc0782f7c2125f18fed2668ea414b29 (diff)
Moved headers to separate directory
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