X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/8d138742ae268344f406cb75d79aa6bf853f9d87..refs/tags/upstream/0.66.1:/auth_getoption.html diff --git a/auth_getoption.html b/auth_getoption.html index f8692d9..5f62ea5 100644 --- a/auth_getoption.html +++ b/auth_getoption.html @@ -1,12 +1,12 @@ -auth_getoption

Name

auth_getoption — Search an option string

Synopsis


+-->

Name

auth_getoption — Search an option string

Synopsis


#include <courierauth.h>
-

char *value=auth_getoption(const char * options,
 const char * keyword);

DESCRIPTION

+

char *value=auth_getoption(const char *options,
 const char *keyword);
 

DESCRIPTION

This is a convenience function for parsing account options, as received by the callback function invoked by auth_generic(3), @@ -20,11 +20,11 @@ and As described in auth_generic(3) (and the others), it is a comma-separated list of -“keyword=value” +“keyword=value” pairs.

auth_getoption searches options for a -keyword.

RETURNS

+keyword.

RETURNS

If options does not have the keyword, @@ -38,7 +38,7 @@ It is the caller's responsibility to the returned buffer.

auth_getoption returns NULL with errno set to ENOMEM if it cannot -allocate a buffer.

SEE ALSO

+allocate a buffer.