finish up translations and setup doc server stuff

This commit is contained in:
ngn
2025-01-10 00:16:06 +03:00
parent ac307de76c
commit 5fb3c03e40
30 changed files with 591 additions and 104 deletions

18
doc/inc/config.h Normal file
View File

@ -0,0 +1,18 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
typedef struct option {
const char *name;
char *value;
bool required;
} option_t;
typedef struct config {
option_t *options;
int32_t count;
} config_t;
int32_t config_load(config_t *conf);
char *config_get(config_t *conf, const char *name);