Main Page | Modules | Data Structures | Data Fields

Complex type: wsse_UsernameTokenType
[XML Types]

Data Structures

Defines

Typedefs

Functions

Variables


Define Documentation

#define WSSE_USERNAMETOKENTYPE_NS   "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
 

Namespace of the wsse_UsernameTokenType complex type.

#define WSSE_USERNAMETOKENTYPE_LOCAL   "UsernameTokenType"
 

Local part of the QName of the wsse_UsernameTokenType complex type.


Typedef Documentation

typedef struct wsse_UsernameTokenType_s wsse_UsernameTokenType
 

The wsse_UsernameTokenType complex type, which represents the {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameTokenType element.

typedef wsse_UsernameTokenType* wsse_UsernameTokenType_o
 

The wsse_UsernameTokenType_o complex type, which represents an optional instance of a {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameTokenType element.

typedef struct wsse_UsernameTokenType_array_s wsse_UsernameTokenType_array
 

Array of wsse_UsernameTokenType elements.

This structure type is used represent an array of wsse_UsernameTokenType elements.

Arrays are allocated by wsse_UsernameTokenType_array_init() and freed by calling wsse_UsernameTokenType_array_destroy(). Elements may be added to an array by calling wsse_UsernameTokenType_array_push().


Function Documentation

globus_result_t wsse_UsernameTokenType_init (
     wsse_UsernameTokenType ** inst )
 

Initialize a wsse_UsernameTokenType.

Allocates a new wsse_UsernameTokenType and initializes its contents. When the structure is no longer needed, it should be freed by calling wsse_UsernameTokenType_destroy().

Parameters:
inst Pointer to set to a newly allocated instance.

void wsse_UsernameTokenType_destroy (
     wsse_UsernameTokenType * inst )
 

Destroy a wsse_UsernameTokenType.

Frees a wsse_UsernameTokenType. All subelements and attributes will be destroyed (and freed if they are optional).

Parameters:
inst Pointer to the instance to destroy.

globus_result_t wsse_UsernameTokenType_copy (
     wsse_UsernameTokenType ** dest,
     const wsse_UsernameTokenType * src)
 

Copy a wsse_UsernameTokenType.

Perform a deep copy of a wsse_UsernameTokenType. The dest structure will be allocated, and then a copy of the contents of src and its subelements and attributes will be made to dest.

Parameters:
dest The wsse_UsernameTokenType structure to be initialized with a copy of the contents of the src structure.
src Source wsse_UsernameTokenType to be copied.

globus_result_t wsse_UsernameTokenType_init_contents (
     wsse_UsernameTokenType * instance )
 

Initialize the contents of a wsse_UsernameTokenType.

Initialize the contents of a wsse_UsernameTokenType. This should be used when the structure is allocated on the stack or by a some allocator besides wsse_UsernameTokenType_init(). The contents may be freed by calling wsse_UsernameTokenType_destroy_contents().

Parameters:
instance Pointer to an allocated but uninitialized wsse_UsernameTokenType.

void wsse_UsernameTokenType_destroy_contents (
     wsse_UsernameTokenType * inst )
 

Destroy the contents of a wsse_UsernameTokenType.

Destroy the subelements and attributes of the given wsse_UsernameTokenType.

Parameters:
inst Pointer to a wsse_UsernameTokenType instance to destroy.

globus_result_t wsse_UsernameTokenType_copy_contents (
     wsse_UsernameTokenType * dest,
     const wsse_UsernameTokenType * src)
 

Copy the contents of a wsse_UsernameTokenType.

Perform a deep copy of the contents of a wsse_UsernameTokenType. The dest strcuture must be allocated before making this call. A copy of the subelements and attributes of @ src will be made to dest.

Parameters:
dest Structure to be initialized with copies of the contents of src.
src Source wsse_UsernameTokenType to be copied.

globus_result_t wsse_UsernameTokenType_deserialize (
     const xsd_QName * element_name,
     wsse_UsernameTokenType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wsse_UsernameTokenType.

Deserialize an element containing a wsse_UsernameTokenType element.

Parameters:
element_name The name of the element which should enclose the wsse_UsernameTokenType.
val Pointer to the wsse_UsernameTokenType which will be initialized with the value of the element.
message_handle The handle to deserialize the element from.
options Deserialization options.

globus_result_t wsse_UsernameTokenType_deserialize_contents (
     const xsd_QName * element_name,
     wsse_UsernameTokenType * val,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize a wsse_UsernameTokenType.

Deserialize a wsse_UsernameTokenType whose enclosing element has already been deserialized.

Parameters:
element_name Ignored.
val Pointer to the wsse_UsernameTokenType which will be initialized with the value of the current element.
message_handle The handle to deserialize the element from.
options Deserialization options.

globus_result_t wsse_UsernameTokenType_deserialize_pointer (
     const xsd_QName * element_name,
     wsse_UsernameTokenType ** instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize an optional wsse_UsernameTokenType.

Deserialize the next element if it contains a wsse_UsernameTokenType.

Parameters:
element_name The name of the element which should enclose the wsse_UsernameTokenType.
instance Pointer to the wsse_UsernameTokenType * which will be allocated and initialized with the value of the element if it is present.
message_handle The handle to deserialize the element from.
options Deserialization options.

globus_result_t wsse_UsernameTokenType_array_init (
     wsse_UsernameTokenType_array ** inst )
 

Initialize an array of wsse_UsernameTokenType elements.

Allocates a new array of 0 elements. When this array is no longer used, it should be freed by calling wsse_UsernameTokenType_array_destroy().

Parameters:
inst Pointer to set to a newly allocated array instance.

void wsse_UsernameTokenType_array_destroy (
     wsse_UsernameTokenType_array * inst )
 

Destroy an array of wsse_UsernameTokenType elements.

Frees an array of wsse_UsernameTokenType elements. The contents of each element element in the array be destroyed by calling wsse_UsernameTokenType_destroy_contents().

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wsse_UsernameTokenType_array_copy (
     wsse_UsernameTokenType_array ** dest,
     const wsse_UsernameTokenType_array * src)
 

Copy an array of wsse_UsernameTokenType elements.

Perform a deep copy of an array of wsse_UsernameTokenType elements. The dest array will be allocated, and then a copy of the contents of each element in src will be made to dest.

Parameters:
dest Array to be initialized with copies of the elements in src.
src Source array to be copied.

globus_result_t wsse_UsernameTokenType_array_init_contents (
     wsse_UsernameTokenType_array * inst )
 

Initialize the contents of an array of wsse_UsernameTokenType elements.

Initialize the contents of an array of wsse_UsernameTokenType elements. Used when the array is allocated on the stack or by a some allocator besides wsse_UsernameTokenType_array_init(). The contents of the array may be freed by calling wsse_UsernameTokenType_array_destroy_contents().

Parameters:
inst Pointer to an allocated but uninitialized array.

void wsse_UsernameTokenType_array_destroy_contents (
     wsse_UsernameTokenType_array * inst )
 

Destroy the contents of an array of wsse_UsernameTokenType elements.

Destroy the elements in an array of wsse_UsernameTokenType elements. The contents of each element in the array be destroyed by calling wsse_UsernameTokenType_destroy_contents() and the array will be reset to be empty.

Parameters:
inst Pointer to array instance to destroy.

globus_result_t wsse_UsernameTokenType_array_copy_contents (
     wsse_UsernameTokenType_array * dest,
     const wsse_UsernameTokenType_array * src)
 

Copy the contents of an array of wsse_UsernameTokenType elements.

Perform a deep copy of an array of wsse_UsernameTokenType elements. The dest array must be allocated before making this call. A copy of the contents of each element in src will be made to dest.

Parameters:
dest Array to be initialized with copies of the elements in src.
src Source array to be copied.

struct wsse_UsernameTokenType_s* wsse_UsernameTokenType_array_push (
     wsse_UsernameTokenType_array * array )
 

Append a new wsse_UsernameTokenType to an array.

Allocate and initialize a new wsse_UsernameTokenType structure, adding it to the end of the given array.

Parameters:
array Array to be appended to.
Returns:
This function returns the newly allocated element.

globus_result_t wsse_UsernameTokenType_array_serialize (
     const xsd_QName * element,
     const wsse_UsernameTokenType_array * array_instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Serialize an array of wsse_UsernameTokenType elements.

Serialize an element containing an array of wsse_UsernameTokenType elements.

Parameters:
element The name of the element which will contain the array.
array_instance The array to serialize
message_handle The handle to serialize the element on.
options Serialization options.

globus_result_t wsse_UsernameTokenType_array_deserialize (
     const xsd_QName * element,
     wsse_UsernameTokenType_array * array_instance,
     globus_soap_message_handle_t message_handle,
     globus_xsd_element_options_t options)
 

Deserialize an array of wsse_UsernameTokenType elements.

Deserialize an element containing an array of wsse_UsernameTokenType elements.

Parameters:
element The name of the element which should enclose the array.
array_instance The array to deserialize into
message_handle The handle to deserialize the element from.
options Deserialization options.


Variable Documentation

xsd_QName wsse_UsernameTokenType_qname
 

QName of the wsse_UsernameTokenType complex type.

struct globus_xsd_type_info_s wsse_UsernameTokenType_info
 

Initial value:

{
    &wsse_UsernameTokenType_qname,
    wsse_UsernameTokenType_serialize_wrapper,
    wsse_UsernameTokenType_deserialize_pointer_wrapper,
    wsse_UsernameTokenType_init_wrapper,
    wsse_UsernameTokenType_destroy_wrapper,
    wsse_UsernameTokenType_copy_wrapper,
    wsse_UsernameTokenType_init_contents_wrapper,
    wsse_UsernameTokenType_destroy_contents_wrapper,
    wsse_UsernameTokenType_copy_contents_wrapper,
    sizeof(wsse_UsernameTokenType),
    NULL,
    &wsse_UsernameTokenType_contents_info,
    &wsse_UsernameTokenType_array_info
}
Type information for serializing and deserializing wsse_UsernameTokenType elements.

struct globus_xsd_type_info_s wsse_UsernameTokenType_info
 

Type information for serializing and deserializing wsse_UsernameTokenType elements.

struct globus_xsd_type_info_s wsse_UsernameTokenType_array_info
 

Initial value:

{
    &wsse_UsernameTokenType_qname,
    wsse_UsernameTokenType_array_serialize_wrapper,
    wsse_UsernameTokenType_array_deserialize_wrapper,
    wsse_UsernameTokenType_array_init_wrapper,
    wsse_UsernameTokenType_array_destroy_wrapper,
    wsse_UsernameTokenType_array_copy_wrapper,
    wsse_UsernameTokenType_array_init_contents_wrapper,
    wsse_UsernameTokenType_array_destroy_contents_wrapper,
    wsse_UsernameTokenType_array_copy_contents_wrapper,
    sizeof(wsse_UsernameTokenType),
    wsse_UsernameTokenType_array_push_wrapper,
    NULL,
    NULL
}
Type information for serializing and deserializing arrays of wsse_UsernameTokenType elements.

struct globus_xsd_type_info_s wsse_UsernameTokenType_array_info
 

Type information for serializing and deserializing arrays of wsse_UsernameTokenType elements.

struct globus_xsd_type_info_s wsse_UsernameTokenType_contents_info
 

Initial value:

{
    &wsse_UsernameTokenType_qname,
    wsse_UsernameTokenType_serialize_contents_wrapper,
    wsse_UsernameTokenType_deserialize_contents_wrapper,
    wsse_UsernameTokenType_init_wrapper,
    wsse_UsernameTokenType_destroy_wrapper,
    wsse_UsernameTokenType_copy_wrapper,
    wsse_UsernameTokenType_init_contents_wrapper,
    wsse_UsernameTokenType_destroy_contents_wrapper,
    wsse_UsernameTokenType_copy_contents_wrapper,
    sizeof(wsse_UsernameTokenType),
    NULL,
    NULL,
    NULL
}
Type information for serializing and deserializing the contents of wsse_UsernameTokenType without surrounding elements.

struct globus_xsd_type_info_s wsse_UsernameTokenType_contents_info
 

Type information for serializing and deserializing the contents of wsse_UsernameTokenType without surrounding elements.


about globus | grid research | globus toolkit | software development

Comments? webmaster@globus.org