diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 1ff9a104..d02b0d63 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -425,6 +425,8 @@ struct sway_config { | |||
425 | list_t *config_chain; | 425 | list_t *config_chain; |
426 | const char *current_config_path; | 426 | const char *current_config_path; |
427 | const char *current_config; | 427 | const char *current_config; |
428 | int current_config_line_number; | ||
429 | char *current_config_line; | ||
428 | 430 | ||
429 | enum sway_container_border border; | 431 | enum sway_container_border border; |
430 | enum sway_container_border floating_border; | 432 | enum sway_container_border floating_border; |
@@ -490,6 +492,11 @@ bool read_config(FILE *file, struct sway_config *config, | |||
490 | struct swaynag_instance *swaynag); | 492 | struct swaynag_instance *swaynag); |
491 | 493 | ||
492 | /** | 494 | /** |
495 | * Adds a warning entry to the swaynag instance used for errors. | ||
496 | */ | ||
497 | void config_add_swaynag_warning(char *fmt, ...); | ||
498 | |||
499 | /** | ||
493 | * Free config struct | 500 | * Free config struct |
494 | */ | 501 | */ |
495 | void free_config(struct sway_config *config); | 502 | void free_config(struct sway_config *config); |