NonStop SOAP 4.1 User's Manual
The axutil_hash_make()Function
Synopsis:
AXIS2_EXTERN axutil_hash_t* axutil_hash_make
( const axutil_env_t * env )
Description:
This function creates a hash table.
Parameters:
env
is a pointer to an environment structure. It cannot have a NULL value.
Return Values:
This function returns the newly created hash table.
The axutil_hash_get()Function
Synopsis:
AXIS2_EXTERN void* axutil_hash_get
( axutil_hash_t * ht,
const void * key,
axis2_ssize_t klen )
Description:
This function looks up the value associated with a key in a hash table.
Parameters:
ht
The hash table
key
Pointer to the key
klen
Length of the key. Can be AXIS2_HASH_KEY_STRING to use the string length.
Return Values:
This function returns NULL if the key is not present.
The axutil_hash_set()Function
Synopsis:
AXIS2_EXTERN void axutil_hash_set
( axutil_hash_t * ht,
const void * key,
axis2_ssize_t klen,
const void * val )
Description:
This function associates a value with a key in a hash table.
Parameters:
ht
The hash table
key
Pointer to the key
klen
Length of the key. Can be AXIS2_HASH_KEY_STRING to use the string length.
val
Value to associate with the key.
392 NonStop SOAP 4 APIs










