diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cache.h | 2 | ||||
-rw-r--r-- | src/include/draw.h | 5 | ||||
-rw-r--r-- | src/include/group.h | 3 | ||||
-rw-r--r-- | src/include/read_cfg.h | 6 |
4 files changed, 9 insertions, 7 deletions
diff --git a/src/include/cache.h b/src/include/cache.h index 894e4e1..701691f 100644 --- a/src/include/cache.h +++ b/src/include/cache.h @@ -1,6 +1,8 @@ #ifndef CACHE_H #define CACHE_H +#include <stdbool.h> + void save_to_cache(int g_count, int g_hover, int *e_hover, int *e_offset, int true_hover, char *cfg_name); void load_cache(int g_count, int *g_hover, int **e_hover, int **e_offset, int *true_hover, char *new_cfg_name); diff --git a/src/include/draw.h b/src/include/draw.h index 387ced3..022abe5 100644 --- a/src/include/draw.h +++ b/src/include/draw.h @@ -5,11 +5,14 @@ #define BUF_LEN 1024 +// currently selected group extern int g_hover; +// array of currently selected entries for each group extern int *e_hover; +// array of groups (as loaded from the config) extern struct group **g; -extern struct entry **e; +// returns the command to run for the current entry char *get_launch(); //functions that differ between os diff --git a/src/include/group.h b/src/include/group.h index dc74bcc..89a8422 100644 --- a/src/include/group.h +++ b/src/include/group.h @@ -27,4 +27,7 @@ int get_ecount(GROUP *g); void set_ecount(GROUP *g, int new_count); //for use in hiding entries +// print all group and entry information +void group_debug(GROUP *g); + #endif diff --git a/src/include/read_cfg.h b/src/include/read_cfg.h index fc40cc0..29a36e7 100644 --- a/src/include/read_cfg.h +++ b/src/include/read_cfg.h @@ -11,12 +11,6 @@ GROUP **cfg_interp(char *path, int *group_count); bool get_sort(); bool get_case_sensitivity(); void refer_to_doc(); -//void addme(char *path, char *group, bool force, char *name); -//int search_ch(char *str, char c); -//int search_last_ch(char *str, char c); -//int wild_cmp(char *wild, char *literal); -//char *strip_quotes(char *str); -//void error_mes(int ln, char *message); //functions that differ by os extern char sep; |