X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/d9898ee81388d1eff40cf71e85d9ce9b5c1401fe..refs/tags/upstream/0.63.0:/auth_getoption.html?ds=sidebyside diff --git a/auth_getoption.html b/auth_getoption.html index 3006ee2..f8692d9 100644 --- a/auth_getoption.html +++ b/auth_getoption.html @@ -1,30 +1,30 @@ -
auth_getoption â Search an option string
#include <courierauth.h>
-
char *value=auth_getoption( | const char *Â | options, |
 | const char * | keyword) ; |
char *value=auth_getoption( | const char *Â | options, |
 | const char * | keyword) ; |
This is a convenience function for parsing account options, as received by the callback function invoked by -auth_generic(3), -auth_login(3), -auth_getuserinfo(3), +auth_generic(3), +auth_login(3), +auth_getuserinfo(3), and -auth_passwd(3).
options
is the
options
field from
authinfo (which can be NULL
).
As described in
-auth_generic(3)
+auth_generic(3)
(and the others), it is a comma-separated list of
âkeyword
=value
â
pairs.
auth_getoption
searches
options
for a
-keyword
.
If
options
does not have the
keyword
,
@@ -38,11 +38,11 @@ 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.
+authlib(3), -auth_generic(3), +auth_generic(3), -auth_login(3), +auth_login(3), -auth_getuserinfo(3).