summaryrefslogtreecommitdiff
path: root/entry.h
blob: bcefc047a15d9167e9934e7a40a83c63bf1a4f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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);

ENTRY *entry_add_last(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 entry_debug(ENTRY *trav);

#endif