X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2Fgraph_config.h;fp=src%2Fgraph_config.h;h=c468eec655f878d308877d7b3835ed3b3d39f8c4;hp=0000000000000000000000000000000000000000;hb=0ab3085f89e64eecd67d3179ea87f0463e918a10;hpb=af2ed61b280e1ec169aba2bcb9df30ac76b006d2 diff --git a/src/graph_config.h b/src/graph_config.h new file mode 100644 index 0000000..c468eec --- /dev/null +++ b/src/graph_config.h @@ -0,0 +1,12 @@ +#ifndef GRAPH_CONFIG_H +#define GRAPH_CONFIG_H 1 + +#include "oconfig.h" + +int graph_read_config (void); + +int graph_config_get_string (const oconfig_item_t *ci, char **ret_str); +int graph_config_get_bool (const oconfig_item_t *ci, _Bool *ret_bool); + +/* vim: set sw=2 sts=2 et fdm=marker : */ +#endif /* GRAPH_CONFIG_H */