#include #include int main(void) { pom_error *error; pom_conf *conf = pom_load_path(NULL, "conf.pom", &error); if (!conf) { pom_error_print(error); free(error); return EXIT_FAILURE; } const char *indentation_type = pom_conf_get(conf, "indentation-type"); if (indentation_type) printf("Indenting with %s\n", indentation_type); else printf("No indentation type set!\n"); pom_conf_free(conf); }