Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Buffer Set Utilities

Buffer Set Utilities. More...

Functions

OM_uint32 GSS_CALLCONV gss_create_empty_buffer_set (OM_uint32 *minor_status, gss_buffer_set_t *buffer_set)
 Create a empty buffer set. More...
 
OM_uint32 GSS_CALLCONV gss_add_buffer_set_member (OM_uint32 *minor_status, const gss_buffer_t member_buffer, gss_buffer_set_t *buffer_set)
 Add a buffer to a buffer set. More...
 
OM_uint32 GSS_CALLCONV gss_release_buffer_set (OM_uint32 *minor_status, gss_buffer_set_t *buffer_set)
 Free a Buffer Set. More...
 

Detailed Description

Buffer Set Utilities.

Functions in this group provide utilities for creating, modifying, and freeing a buffer set.

Function Documentation

OM_uint32 GSS_CALLCONV gss_add_buffer_set_member ( OM_uint32 *  minor_status,
const gss_buffer_t  member_buffer,
gss_buffer_set_t *  buffer_set 
)

Add a buffer to a buffer set.

This function allocates a new gss_buffer_t, initializes it with the values in the member_buffer parameter.

Parameters
minor_statusThe minor status returned by this function. This parameter will be 0 upon success.
member_bufferBuffer to insert into the buffer set.
buffer_setPointer to a initialized buffer set structure.
Return values
GSS_S_COMPLETESuccess
GSS_S_FAILUREFailure
See Also
gss_create_empty_buffer_set
gss_release_buffer_set
OM_uint32 GSS_CALLCONV gss_create_empty_buffer_set ( OM_uint32 *  minor_status,
gss_buffer_set_t *  buffer_set 
)

Create a empty buffer set.

This function allocates and initializes a empty buffer set. The memory allocated in this function should be freed by a call to gss_release_buffer_set.

Parameters
minor_statusThe minor status returned by this function. This parameter will be 0 upon success.
buffer_setPointer to a buffer set structure.
Return values
GSS_S_COMPLETESuccess
GSS_S_FAILUREFailure
See Also
gss_add_buffer_set_member
gss_release_buffer_set
OM_uint32 GSS_CALLCONV gss_release_buffer_set ( OM_uint32 *  minor_status,
gss_buffer_set_t *  buffer_set 
)

Free a Buffer Set.

This function will free all memory associated with a buffer set. Note that it will also free all memory associated with the buffers int the buffer set.

Parameters
minor_statusThe minor status returned by this function. This parameter will be 0 upon success.
buffer_setPointer to a buffer set structure. This pointer will point at a NULL value upon return.
Return values
GSS_S_COMPLETESuccess
GSS_S_FAILUREFailure
See Also
gss_create_empty_buffer_set
gss_add_buffer_set_member