summaryrefslogtreecommitdiffstats
path: root/include/swaynag/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaynag/config.h')
-rw-r--r--include/swaynag/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/swaynag/config.h b/include/swaynag/config.h
new file mode 100644
index 00000000..0d8889de
--- /dev/null
+++ b/include/swaynag/config.h
@@ -0,0 +1,13 @@
1#ifndef _SWAYNAG_CONFIG_H
2#define _SWAYNAG_CONFIG_H
3#include "swaynag/swaynag.h"
4#include "list.h"
5
6int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
7 list_t *types, struct swaynag_type *type, char **config, bool *debug);
8
9char *swaynag_get_config_path(void);
10
11int swaynag_load_config(char *path, struct swaynag *swaynag, list_t *types);
12
13#endif