mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 06:52:49 +02:00
MINOR: ssl/ckch: add substring parser for ckch_conf
Add a substring parser for the ckch_conf keyword parser, this will split a string into multiple substring, and strdup them in a array.
This commit is contained in:
@@ -183,8 +183,9 @@ struct cert_exts {
|
||||
enum parse_type_t {
|
||||
PARSE_TYPE_NONE = 0,
|
||||
PARSE_TYPE_INT,
|
||||
PARSE_TYPE_STR, /* string which is strdup() */
|
||||
PARSE_TYPE_ONOFF, /* "on" or "off" keyword */
|
||||
PARSE_TYPE_STR, /* string which is strdup() */
|
||||
PARSE_TYPE_ARRAY_SUBSTR, /* string splitted by colons into an array of substring */
|
||||
PARSE_TYPE_ONOFF, /* "on" or "off" keyword */
|
||||
};
|
||||
|
||||
struct ckch_conf_kws {
|
||||
|
||||
Reference in New Issue
Block a user