1sasl_verifyfiSliem_ptl(e3SAAuStLh)entication Security Layer LibrarsyasFlu_nvcetriiofnysfile_t(3SASL)
2
3
4

NAME

6       sasl_verifyfile_t - the SASL file verification callback function
7

SYNOPSIS

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

DESCRIPTION

24       Use  the  sasl_verifyfile_t()  callback  function check whether a given
25       file can be used by the SASL  library.  Applications  use  sasl_verify‐
26       file_t()  to check the environment to ensure that plugins or configura‐
27       tion files cannot be written to.
28

PARAMETERS

30       context    The context from the callback record
31
32
33       file       The full path of the file to verify
34
35
36       type       The type of the file
37
38

RETURN VALUES

40       Like other SASL  callback  functions,  sasl_verifyfile_t()  returns  an
41       integer  that corresponds to a SASL error code. See <sasl.h> for a com‐
42       plete list of SASL error codes.
43

ERRORS

45       SASL_OK    The call to sasl_verifyfile_t() was successful.
46
47
48
49       See sasl_errors(3SASL) for information on SASL error codes.
50

ATTRIBUTES

52       See attributes(5) for descriptions of the following attributes:
53
54
55
56
57       ┌─────────────────────────────┬─────────────────────────────┐
58       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │Availability                 │SUNWlibsasl                  │
61       ├─────────────────────────────┼─────────────────────────────┤
62       │Interface Stability          │Evolving                     │
63       ├─────────────────────────────┼─────────────────────────────┤
64       │MT-Level                     │MT-Safe                      │
65       └─────────────────────────────┴─────────────────────────────┘
66

SEE ALSO

68       sasl_errors(3SASL), attributes(5)
69
70
71
72SunOS 5.11                        27 Oct 2003         sasl_verifyfile_t(3SASL)
Impressum