Browse Source

* config.h : reexport of f2b_config_param_create()

master
Alex 'AdUser' Z 8 years ago
parent
commit
456c6f31b1
  1. 7
      src/config.h

7
src/config.h

@ -49,6 +49,13 @@ typedef struct f2b_config_t {
f2b_config_section_t *jails; /**< sections [jail:*] */ f2b_config_section_t *jails; /**< sections [jail:*] */
} f2b_config_t; } f2b_config_t;
/**
* @brief Try parse line with `key = value` parameter
* @param src Source line
* @returns Pointer to created allocated parameter struct or NULL on error
*/
f2b_config_param_t * f2b_config_param_create(const char *src);
/** /**
* @brief Find parameter with given name in list * @brief Find parameter with given name in list
* @param list Linked list of parameters * @param list Linked list of parameters

Loading…
Cancel
Save