[#CONF_parse_list]
= CONF&lowbar;parse&lowbar;list
:mrdocs:

Split `list` on separator `sep` and invoke `list&lowbar;cb` for each element&period;

== Synopsis

Declared in `&lt;openssl&sol;conf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CONF&lowbar;parse&lowbar;list(
    char const* list,
    int sep,
    int nospc,
    int(* list&lowbar;cb)(char const*, int, void*),
    void* arg);
----

== Return Value

1 on success, or 0 if a callback aborts &sol; on parse failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *list*
| NUL&hyphen;terminated list string&period;
| *sep*
| Separator character&period;
| *nospc*
| Non&hyphen;zero to reject surrounding spaces around elements&period;
| *list&lowbar;cb*
| Callback receiving each element pointer, length, and `arg&semi;` return 0 to abort&period;
| *arg*
| User pointer passed to `list&lowbar;cb&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
