**/
#define CF_LOOKUP_DYN(n,p,t,c) { .cls = CC_DYNAMIC, .type = CT_LOOKUP, .name = n, .number = c, .ptr = CHECK_PTR_TYPE(p,int**), .u.lookup = t }
/**
- * A user defined type.
+ * A user-defined type.
* See <<custom_parser,creating custom parsers>> section if you want to know more.
**/
#define CF_USER(n,p,t) { .cls = CC_STATIC, .type = CT_USER, .name = n, .number = 1, .ptr = p, .u.utype = t }
/**
- * Static array of user defined types (all of the same type).
+ * Static array of user-defined types (all of the same type).
* See <<custom_parser,creating custom parsers>> section.
**/
#define CF_USER_ARY(n,p,t,c) { .cls = CC_STATIC, .type = CT_USER, .name = n, .number = c, .ptr = p, .u.utype = t }
/**
- * Dynamic array of user defined types.
+ * Dynamic array of user-defined types.
* See <<custom_parser,creating custom parsers>> section.
**/
#define CF_USER_DYN(n,p,t,c) { .cls = CC_DYNAMIC, .type = CT_USER, .name = n, .number = c, .ptr = p, .u.utype = t }
* The default config (DEFAULT_CONFIG config option) or NULL if already loaded.
* You can set it to something else manually.
*/
-extern char *cf_def_file; /* DEFAULT_CONFIG; NULL if already loaded */
-extern char *cf_env_file; /** ENV_VAR_CONFIG **/
+extern char *cf_def_file;
+/**
+ * Name of environment variable that can override what configuration
+ * is loaded.
+ **/
+extern char *cf_env_file;
int cf_reload(const char *file); /** Reload configuration from @file, replace the old one. **/
int cf_load(const char *file); /** Load configuration from @file. **/
/**