diff options
author | Louie S <louie@example.com> | 2022-11-06 16:28:17 -0800 |
---|---|---|
committer | Louie S <louie@example.com> | 2022-11-06 16:28:17 -0800 |
commit | 2c29b6a5145a4c44cbef03197db64cd2d7decd15 (patch) | |
tree | db4129c7efad3b79ee1b21c5ed4ef634044de5eb /src/include/entry.h | |
parent | 77c6ef13a0599fdb9966a3a7dc967e204b77c7d5 (diff) |
Basic functionality for using autotools over basic Makefile
Diffstat (limited to 'src/include/entry.h')
-rw-r--r-- | src/include/entry.h | 28 |
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 |