From 2c29b6a5145a4c44cbef03197db64cd2d7decd15 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sun, 6 Nov 2022 16:28:17 -0800 Subject: Basic functionality for using autotools over basic Makefile --- src/include/entry.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/include/entry.h (limited to 'src/include/entry.h') 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 -- cgit