1sasl_verifyfile_t(10 July 2001)                sasl_verifyfile_t(10 July 2001)
2
3
4

NAME

6       sasl_verifyfile_t - The SASL file verification
7
8
9

SYNOPSIS

11       #include <sasl/sasl.h>
12
13
14       typedef enum {
15           SASL_VRFY_PLUGIN, /* a DLL/shared library plugin */
16           SASL_VRFY_CONF,   /* a configuration file */
17           SASL_VRFY_PASSWD, /* a password storage file */
18           SASL_VRFY_OTHER   /* some other file type */
19       } sasl_verify_type_t
20
21       int sasl_verifyfile_t(void *context,
22                         const char *file,
23                             sasl_verify_type_t type)
24
25

DESCRIPTION

27       sasl_verifyfile_t is used to check whether a given file is okay for use
28       by the SASL library.  this is intended to allow applications to  sanity
29       check  the environment to ensure that plugins or the config file cannot
30       be written to, etc.
31
32       context context from the callback record
33
34       file full path of the file to verify
35
36       type type of the file.
37
38

RETURN VALUE

40       SASL callback functions should return SASL return codes. See sasl.h for
41       a complete list. SASL_OK indicates success.
42
43

SEE ALSO

45       sasl(3), sasl_callbacks(3)
46
47
48
49SASL man pages                       SASL      sasl_verifyfile_t(10 July 2001)
Impressum