diff options
author | Louie Shprung <lshprung@tutanota.com> | 2024-08-11 17:49:28 -0400 |
---|---|---|
committer | Louie Shprung <lshprung@tutanota.com> | 2024-08-11 17:49:28 -0400 |
commit | 4e68f637300c0e360d49f8f672d0675d42da0d1f (patch) | |
tree | 9603de49bbbc19623823479fce6bb95c40fda26a /src/include/read_cfg.h | |
parent | 85596300cc45d73bd3335d8c802b7c590fb1e1d2 (diff) |
(Currently broken) reimplementation of group and entry
Diffstat (limited to 'src/include/read_cfg.h')
-rw-r--r-- | src/include/read_cfg.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/include/read_cfg.h b/src/include/read_cfg.h index a76e55e..fc40cc0 100644 --- a/src/include/read_cfg.h +++ b/src/include/read_cfg.h @@ -3,23 +3,24 @@ #include <stdbool.h> +#include "group.h" + #define BUF_LEN 1024 -bool cfg_interp(char *path); +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); +//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; char *find_config(); void mkconfig_wizard(char *path); -void handle_fname(char *path, char *group, bool recurs, bool force, char *name, int ln); #endif |