gsasl.h   gsasl.h 
skipping to change at line 30 skipping to change at line 30
* *
*/ */
#ifndef GSASL_H #ifndef GSASL_H
# define GSASL_H # define GSASL_H
# include <stdio.h> /* FILE */ # include <stdio.h> /* FILE */
# include <stddef.h> /* size_t */ # include <stddef.h> /* size_t */
# include <unistd.h> /* ssize_t */ # include <unistd.h> /* ssize_t */
/* GSASL Windows DLL. Only needed when this file is used in Visual # ifndef GSASL_API
Studio. Export and import happens automatically in MinGW. */ # if defined GSASL_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY
#ifndef GSASL_API # define GSASL_API __attribute__((__visibility__("default")))
# if defined _MSC_VER && !defined GSASL_STATIC # elif defined GSASL_BUILDING && defined _MSC_VER && ! defined GSASL_STATI
# ifdef GSASL_EXPORTS C
# define GSASL_API __declspec(dllexport) # define GSASL_API __declspec(dllexport)
# else # elif defined _MSC_VER && ! defined GSASL_STATIC
# define GSASL_API __declspec(dllimport) # define GSASL_API __declspec(dllimport)
# else
# define GSASL_API
# endif # endif
# else
# define GSASL_API
# endif # endif
#endif
# ifdef __cplusplus # ifdef __cplusplus
extern "C" extern "C"
{ {
# endif # endif
/** /**
* GSASL_VERSION * GSASL_VERSION
* *
* String defined via CPP denoting the header file version number. * Pre-processor symbol with a string that describe the header file
* Used together with stringprep_check_version() to verify header file * version number. Used together with stringprep_check_version() to
* and run-time library consistency. * verify header file and run-time library consistency.
*/ */
# define GSASL_VERSION "1.0" # define GSASL_VERSION "1.1"
/**
* GSASL_VERSION_MAJOR
*
* Pre-processor symbol with a decimal value that describe the major
* level of the header file version number. For example, when the
* header version is 1.2.3 this symbol will be 1.
*
* Since: 1.1
*/
# define GSASL_VERSION_MAJOR 1
/**
* GSASL_VERSION_MINOR
*
* Pre-processor symbol with a decimal value that describe the minor
* level of the header file version number. For example, when the
* header version is 1.2.3 this symbol will be 2.
*
* Since: 1.1
*/
# define GSASL_VERSION_MINOR 1
/**
* GSASL_VERSION_PATCH
*
* Pre-processor symbol with a decimal value that describe the patch
* level of the header file version number. For example, when the
* header version is 1.2.3 this symbol will be 3.
*
* Since: 1.1
*/
# define GSASL_VERSION_PATCH 0
/**
* GSASL_VERSION_NUMBER
*
* Pre-processor symbol with a hexadecimal value describing the
* header file version number. For example, when the header version
* is 1.2.3 this symbol will have the value 0x010203.
*
* Since: 1.1
*/
# define GSASL_VERSION_NUMBER 0x010100
/* RFC 2222: SASL mechanisms are named by strings, from 1 to 20 /* RFC 2222: SASL mechanisms are named by strings, from 1 to 20
* characters in length, consisting of upper-case letters, digits, * characters in length, consisting of upper-case letters, digits,
* hyphens, and/or underscores. SASL mechanism names must be * hyphens, and/or underscores. SASL mechanism names must be
* registered with the IANA. * registered with the IANA.
*/ */
enum enum
{ {
GSASL_MIN_MECHANISM_SIZE = 1, GSASL_MIN_MECHANISM_SIZE = 1,
GSASL_MAX_MECHANISM_SIZE = 20 GSASL_MAX_MECHANISM_SIZE = 20
skipping to change at line 157 skipping to change at line 199
GSASL_PASSWORD = 3, GSASL_PASSWORD = 3,
GSASL_ANONYMOUS_TOKEN = 4, GSASL_ANONYMOUS_TOKEN = 4,
GSASL_SERVICE = 5, GSASL_SERVICE = 5,
GSASL_HOSTNAME = 6, GSASL_HOSTNAME = 6,
GSASL_GSSAPI_DISPLAY_NAME = 7, GSASL_GSSAPI_DISPLAY_NAME = 7,
GSASL_PASSCODE = 8, GSASL_PASSCODE = 8,
GSASL_SUGGESTED_PIN = 9, GSASL_SUGGESTED_PIN = 9,
GSASL_PIN = 10, GSASL_PIN = 10,
GSASL_REALM = 11, GSASL_REALM = 11,
GSASL_DIGEST_MD5_HASHED_PASSWORD = 12, GSASL_DIGEST_MD5_HASHED_PASSWORD = 12,
GSASL_QOPS = 13,
GSASL_QOP = 14,
/* Server validation callback properties. */ /* Server validation callback properties. */
GSASL_VALIDATE_SIMPLE = 500, GSASL_VALIDATE_SIMPLE = 500,
GSASL_VALIDATE_EXTERNAL = 501, GSASL_VALIDATE_EXTERNAL = 501,
GSASL_VALIDATE_ANONYMOUS = 502, GSASL_VALIDATE_ANONYMOUS = 502,
GSASL_VALIDATE_GSSAPI = 503, GSASL_VALIDATE_GSSAPI = 503,
GSASL_VALIDATE_SECURID = 504 GSASL_VALIDATE_SECURID = 504
} Gsasl_property; } Gsasl_property;
/** /**
* Gsasl_callback_function: * Gsasl_callback_function:
 End of changes. 8 change blocks. 
13 lines changed or deleted 58 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/