other versions
- wheezy 0.63.0-6+b1
- jessie 0.66.1-1+b1
- testing 0.66.4-9
- unstable 0.66.4-9
- experimental 0.67.0-1
| AUTH_GETOPTION(3) | Double Precision, Inc. | AUTH_GETOPTION(3) |
NAME¶
auth_getoption - Search an option stringSYNOPSIS¶
#include <courierauth.h>
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)[1], auth_login(3)[2], auth_getuserinfo(3)[3], and auth_passwd(3)[4].RETURNS¶
If options does not have the keyword, auth_getoption returns NULL with errno set to ENOENT. Otherwise auth_getoption allocates a buffer for value, and returns it. It is the caller´s responsibility to free(3) the returned buffer.SEE ALSO¶
NOTES¶
auth_generic.html
auth_login.html
auth_getuserinfo.html
auth_passwd.html
- 5.
- authlib(3)
authlib.html
| 08/23/2008 | Double Precision, Inc. |