mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
* Strip whitespaces from keys and values * Detect (and ignore) comments * Detect syntax errors (no value specified etc) * Error out on syntax errors and invalid keys
11 lines
166 B
C
11 lines
166 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct config {
|
|
char *shell;
|
|
char *font;
|
|
};
|
|
|
|
bool config_load(struct config *conf);
|
|
void config_free(struct config conf);
|