summaryrefslogtreecommitdiff
path: root/src/include/entry.h
blob: 51e43cac810e407825cc03414f8d7e6f8a76fd02 (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
25
26
27
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