from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

196714

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252324

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

141294

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





sasl_listmech

Section: SASL man pages (3)
Updated: 10 July 2001
Index Return to Main Contents
 

NAME

sasl_listmech - Retrieve a list of the supported SASL mechanisms  

SYNOPSIS

#include <sasl/sasl.h>


int sasl_listmech(sasl_conn_t *conn, 
                      const char *user, 
                      const char *prefix, 
                      const char *sep, 
                      const char *suffix, 
                      const char **result, 
                      unsigned *plen, 
                      int *pcount);

 

DESCRIPTION

sasl_listmech() 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:

sasl_listmech(conn,NULL,"(",",",")",&mechlist,NULL,NULL);

may give the string 
(ANONYMOUS,KERBEROS_V4,DIGEST-MD5)
as a result


 

RETURN VALUE

Returns SASL_OK on success. SASL error code on failure.

 

CONFORMING TO

RFC 4422  

SEE ALSO

sasl(3), sasl_errors(3), sasl_server_new(3), sasl_client_new(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 19.8 ms