summaryrefslogtreecommitdiff
path: root/include/read_cfg.h
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-28 15:34:29 -0800
committerlouie <lshprung@yahoo.com>2020-12-28 15:34:29 -0800
commitb8209a2349ffb2153e0c17f43412f2c9906aa8d0 (patch)
treea816b35e8c38b64aad1c00e6ae6a68a00aa282f0 /include/read_cfg.h
parent9fa266e62dc0782f7c2125f18fed2668ea414b29 (diff)
Moved headers to separate directory
Diffstat (limited to 'include/read_cfg.h')
-rw-r--r--include/read_cfg.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/read_cfg.h b/include/read_cfg.h
new file mode 100644
index 0000000..abb31cc
--- /dev/null
+++ b/include/read_cfg.h
@@ -0,0 +1,26 @@
+#ifndef READ_CFG_H
+#define READ_CFG_H
+
+#define BUF_LEN 1024
+
+void 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);
+
+#endif