'\" te .\" Copyright (C) 1998-2003, Carnegie Mellon Univeristy. All Rights Reserved. .\" Portions Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved .TH sasl_getpath_t 3SASL "27 Oct 2003" "SunOS 5.11" "Simple Authentication Security Layer Library Functions" .SH NAME sasl_getpath_t \- the SASL callback function to indicate location of the security mechanism drivers .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lsasl\fR [ \fIlibrary\fR ... ] #include \fBint\fR \fBsasl_getpath_t\fR(\fBvoid *\fR\fIcontext\fR, \fBchar **\fR\fIpath\fR); .fi .SH DESCRIPTION .sp .LP Use the \fBsasl_getpath_t()\fR function to enable the application to use a different location for the SASL security mechanism drivers, which are shared library files. If the \fBsasl_getpath_t()\fR callback is not used, SASL uses \fB/usr/lib/sasl\fR by default. .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIcontext\fR\fR .ad .RS 11n .rt The getpath context from the callback record .RE .sp .ne 2 .mk .na \fB\fIpath\fR\fR .ad .RS 11n .rt The path(s) for the location of the SASL security mechanism drivers. The values for \fIpath\fR are colon-separated. .RE .SH RETURN VALUES .sp .LP Like other SASL callback functions, \fBsasl_getpath_t()\fR returns an integer that corresponds to a SASL error code. See <\fBsasl.h\fR> for a complete list of SASL error codes. .SH ERRORS .sp .ne 2 .mk .na \fB\fBSASL_OK\fR\fR .ad .RS 11n .rt The call to \fBsasl_getpath_t()\fR was successful. .RE .sp .LP See \fBsasl_errors\fR(3SASL) for information on SASL error codes. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library/security/libsasl _ Interface StabilityCommitted _ MT-LevelMT-Safe .TE .SH SEE ALSO .sp .LP \fBsasl_errors\fR(3SASL), \fBattributes\fR(5)