diff options
Diffstat (limited to 'include/swaynag/config.h')
-rw-r--r-- | include/swaynag/config.h | 13 |
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 @@ +#ifndef _SWAYNAG_CONFIG_H +#define _SWAYNAG_CONFIG_H +#include "swaynag/swaynag.h" +#include "list.h" + +int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag, + list_t *types, struct swaynag_type *type, char **config, bool *debug); + +char *swaynag_get_config_path(void); + +int swaynag_load_config(char *path, struct swaynag *swaynag, list_t *types); + +#endif |