summaryrefslogtreecommitdiff
path: root/src/include/read_cfg.h
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@tutanota.com>2024-08-30 16:14:26 -0400
committerLouie Shprung <lshprung@tutanota.com>2024-08-30 16:14:26 -0400
commit615c64bcd69eea3660f0a35396255c2eb45fa283 (patch)
tree8e4d8da22240f1ab8da4ff097f74177fcbf24f50 /src/include/read_cfg.h
parent9cd631a391568c3e75d6f9ee65707dea0bea6d9a (diff)
parenta3d9eb21789bf3587f176e6d155d610b8bc69dab (diff)
Merge branch 'testing'
Diffstat (limited to 'src/include/read_cfg.h')
-rw-r--r--src/include/read_cfg.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/include/read_cfg.h b/src/include/read_cfg.h
index df3e5bd..1337e32 100644
--- a/src/include/read_cfg.h
+++ b/src/include/read_cfg.h
@@ -1,23 +1,18 @@
#ifndef READ_CFG_H
#define READ_CFG_H
+#include <stdbool.h>
+
+#include "group.h"
+
#define BUF_LEN 1024
-bool cfg_interp(char *path);
-bool get_sort();
-bool get_case_sensitivity();
+GROUP **cfg_interp(char *path, int *group_count);
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(char *path);
-void handle_fname(char *path, char *group, bool recurs, bool force, char *name, int ln);
#endif