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