finish up translations and setup doc server stuff
This commit is contained in:
18
doc/inc/config.h
Normal file
18
doc/inc/config.h
Normal 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);
|
Reference in New Issue
Block a user