1SASL_VERIFYFILE_T(3)              Cyrus SASL              SASL_VERIFYFILE_T(3)
2
3
4

NAME

6       sasl_verifyfile_t - Cyrus SASL documentation
7

SYNOPSIS

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

DESCRIPTION

23       int sasl_verifyfile_t(void *context,
24
25       const char *file,
26
27       sasl_verify_type_t type)
28              sasl_verifyfile_t()  is  used  to  check whether a given file is
29              okay for use by the SASL library.   This  is  intended  to allow
30              applications   to   sanity  check  the environment. For example,
31              to ensure that plugins or the config file  cannot   be   written
32              to.
33
34              Parameters
35
36                     · context – context from the callback record
37
38                     · context – context from the callback record
39
40                     · file – full path of the file to verify
41
42                     · type – type of the file.
43

RETURN VALUE

45       SASL   callback  functions should return SASL return codes.  See sasl.h
46       for a complete list. SASL_OK indicates success.
47
48       Other return codes indicate errors and should be handled.
49

SEE ALSO

51       RFC 4422,:saslman:sasl(3), sasl_callbacks(3) sasl_errors(3)
52

AUTHOR

54       The Cyrus Team
55
57       1993-2016, The Cyrus Team
58
59
60
61
622.1.27                         November 08, 2018          SASL_VERIFYFILE_T(3)
Impressum