sasl_verifyfile_t - The SASL file verification
#include <sasl/sasl.h> typedef enum { SASL_VRFY_PLUGIN, /* a DLL/shared library plugin */ SASL_VRFY_CONF, /* a configuration file */ SASL_VRFY_PASSWD, /* a password storage file */ SASL_VRFY_OTHER /* some other file type */ } sasl_verify_type_t int sasl_verifyfile_t(void *context, const char *file, sasl_verify_type_t type)
sasl_verifyfile_t(3sasl) SASL man pages sasl_verifyfile_t(3sasl) NAME sasl_verifyfile_t - The SASL file verification SYNOPSIS #include <sasl/sasl.h> typedef enum { SASL_VRFY_PLUGIN, /* a DLL/shared library plugin */ SASL_VRFY_CONF, /* a configuration file */ SASL_VRFY_PASSWD, /* a password storage file */ SASL_VRFY_OTHER /* some other file type */ } sasl_verify_type_t int sasl_verifyfile_t(void *context, const char *file, sasl_verify_type_t type) DESCRIPTION sasl_verifyfile_t is used to check whether a given file is okay for use by the SASL library. this is intended to allow applications to sanity check the environment to ensure that plugins or the config file cannot be written to, etc. context context from the callback record file full path of the file to verify type type of the file. RETURN VALUE SASL callback functions should return SASL return codes. See sasl.h for a complete list. SASL_OK indicates success. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+----------------------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+----------------------------------+ |Availability | system/library/security/libsasl2 | +---------------+----------------------------------+ |Stability | Pass-through volatile | +---------------+----------------------------------+ SEE ALSO sasl(3SASL), sasl_callbacks(3SASL) NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus- sasl-2.1.26.tar.gz. Further information about this software can be found on the open source community website at https://www.cyrusimap.org/sasl/. SASL 10 July 2001 sasl_verifyfile_t(3sasl)