diff options
author | Louie S <louie@example.com> | 2022-11-06 16:28:17 -0800 |
---|---|---|
committer | Louie S <louie@example.com> | 2022-11-06 16:28:17 -0800 |
commit | 2c29b6a5145a4c44cbef03197db64cd2d7decd15 (patch) | |
tree | db4129c7efad3b79ee1b21c5ed4ef634044de5eb /src/include/read_cfg.h | |
parent | 77c6ef13a0599fdb9966a3a7dc967e204b77c7d5 (diff) |
Basic functionality for using autotools over basic Makefile
Diffstat (limited to 'src/include/read_cfg.h')
-rw-r--r-- | src/include/read_cfg.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/read_cfg.h b/src/include/read_cfg.h new file mode 100644 index 0000000..b6b996f --- /dev/null +++ b/src/include/read_cfg.h @@ -0,0 +1,23 @@ +#ifndef READ_CFG_H +#define READ_CFG_H + +#define BUF_LEN 1024 + +bool cfg_interp(char *path); +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; +char *find_config(); +void mkconfig_wizard(); +void handle_fname(char *path, char *group, bool recurs, bool force, char *name, int ln); + +#endif |