aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
blob: 3596882da5988091bb2bf4465db99d35d0dd92ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef COMET_CONFIG_H
#define COMET_CONFIG_H

#include <stdio.h>

typedef struct {
    char *font;
    char *monitor;
    unsigned int height;
    unsigned int width;
} config_t;

void config_init(config_t *config);

void config_read(config_t *config, FILE *file);

void config_free(config_t *config);

#endif