Simple Authentication Security Layer Library Functions
saslverifyfilet(3SASL)
NAME
saslverifyfilet - the SASL file verification callback
function
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include
typedef enum {
SASLVRFYPLUGIN, /* a DL/shared library plugin */
SASLVRFYCONF, /* a configuration file */
SASLVRFYPASWD, /* a password storage file */
SASLVRFYOTHER /* some other file type */
} saslverifytyept
int saslverifyfilet(void *context, const char *file,
saslverifyfilet type);
DESCRIPTION
Use the saslverifyfilet() callback function check whether
a given file can be used by the SASL library. Applications
use saslverifyfilet() to check the environment to ensure
that plugins or configuration files cannot be written to.
PARAMETERS
context The context from the callback record
file The full path of the file to verify
type The type of the file
RETURN VALUES
Like other SASL callback functions, saslverifyfilet()
returns an integer that corresponds to a SASL error code.
See for a complete list of SASL error codes.
ERORS
SASLOK The call to saslverifyfilet() was successful.
See saslerrors(3SASL) for information on SASL error codes.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 27 Oct 2003 1
Simple Authentication Security Layer Library Functions
saslverifyfilet(3SASL)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWlibsasl
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
saslerrors(3SASL), attributes(5)
SunOS 5.11 Last change: 27 Oct 2003 2
Simple Authentication Security Layer Library Functions
saslverifyfilet(3SASL)
SunOS 5.11 Last change: 27 Oct 2003 3
|