Manual Pages for UNIX Darwin command on man sasl_listmech
MyWebUniversity

Manual Pages for UNIX Darwin command on man sasl_listmech

sasllistmech(10 July 2001) sasllistmech(10 July 2001)

NAME

sasllistmech - Retrieve a list of the supported SASL mechanisms

SYNOPSIS

##iinncclluuddee <>

iinntt ssaasslllliissttmmeecchh((ssaassllccoonnnntt **conn,, ccoonnsstt cchhaarr **user,, ccoonnsstt cchhaarr **prefix,, ccoonnsstt cchhaarr **sep,, ccoonnsstt cchhaarr **suffix,, ccoonnsstt cchhaarr ****result,, uunnssiiggnneedd **plen,, iinntt **pcount));;

DESCRIPTION

ssaasslllliissttmmeecchh(()) returns a string listing the SASL names of all the mechanisms available to the specified user. This is typically given to the client through a capability command or initial server response. Client applications need this list so that they know what mechanisms the server supports. conn the SASL context for this connection user (optional) restricts the mechanism list to only those available to the user. prefix appended to beginning of result sep appended between mechanisms suffix appended to end of result result NULL terminated result string (allocated/freed by library) plen length of result filled in by library. May be NULL pcount Number of mechanisms available (filled in by library). May be NULL Example: sasllistmech(conn,NULL,"(",",",")",&mechlist,NULL,NULL); may give the string

((AANNOONNYYMMOOUUSS,,KKEERRBBEERROOSSVV44,,DDIIGGEESSTT-MMDD55))

as a result RREETTUURRNN VVAALLUUEE Returns SASLOK on success. SASL error code on failure. CCOONNFFOORRMMIINNGG TTOO RFC 2222

SEE ALSO

sasl(3), saslerrors(3), saslservernew(3), saslclientnew(3) SASL man pages SASL sasllistmech(10 July 2001)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™