diff options
| author | Federico Angelilli <code@fedang.net> | 2024-07-10 22:18:02 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-07-10 22:18:02 +0200 |
| commit | 53691bc0cfa4336408b8208a9062291c36927ab2 (patch) | |
| tree | e4270ed1e942a0ab7c3afb44a36e0759b1ecdcae /src/config.h | |
| parent | d575e261c85b70a8de4f02fb2115b102d3c33f64 (diff) | |
Add config loading
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..985ad4c --- /dev/null +++ b/src/config.h @@ -0,0 +1,15 @@ +#ifndef COMET_CONFIG_H +#define COMET_CONFIG_H + +#include <stdio.h> + +typedef struct { + char *font; + char *monitor; + int height; + int width; +} config_t; + +void config_init(config_t *config, FILE *file); + +#endif |
