MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Simple Authentication Security Layer Library Functions
                                             saslgetoptt(3SASL)



NAME
     saslgetoptt - the SASL get option callback function

SYNOPSIS
     cc [ flag ... ] file ... -lsasl   [ library ... ]
     #include 

     int saslgetoptt(void *context, const char *pluginname,
          const char *option, const char **result, unsigned *len);


DESCRIPTION
     The saslgetoptt() function allows a SASL configuration  to
     be  encapsulated  in the caller's configuration system. Some
     implementations may use  default  configuration  file(s)  if
     this  function is omitted. Configuration items are arbitrary
     strings and are plug-in specific.

PARAMETERS
     context        The option context from the callback record.


     pluginname    The name of the  plug-in.  If  the  value  of
                    pluginname  is  NUL,  the  the plug-in is a
                    general SASL option.


     option         The name of the option.


     result         The value of result is set and persists until
                    the  next call to saslgetoptt() in the same
                    thread. The value of result is  unchanged  if
                    option is not found.


     len            The length of result. The value of result can
                    be NUL.


RETURN VALUES
     Like other SASL callback functions, saslgetoptt()  returns
     an  integer  that  corresponds  to  a  SASL  error code. See
      for a complete list of SASL error codes.

ERORS
     SASLOK    The call to saslgetoptt() was successful.







SunOS 5.11          Last change: 27 Oct 2003                    1






Simple Authentication Security Layer Library Functions
                                             saslgetoptt(3SASL)



     See saslerrors(3SASL) for information on SASL error codes.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWlibsasl                 
    
     Interface Stability          Evolving                    
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     saslerrors(3SASL), attributes(5)

































SunOS 5.11          Last change: 27 Oct 2003                    2






Simple Authentication Security Layer Library Functions
                                             saslgetoptt(3SASL)






















































SunOS 5.11          Last change: 27 Oct 2003                    3






OpenSolaris man pages main menu

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