Sun Microsystems 5800 Computer Drive User Manual


 
hc_session_get_platform_result ......................................................................................... 58
hc_session_get_archive .......................................................................................................... 59
Managing a Schema ..................................................................................................................... 59
hc_schema_get_type .................................................................................................................. 60
hc_schema_get_length .............................................................................................................. 61
hc_schema_get_count ................................................................................................................ 61
hc_schema_get_type_at_index ............................................................................................... 62
Manipulating Name-Value Records .......................................................................................... 63
Using the API for Storing Name-Value Records ...................................................................... 63
Using Returned Name-Value Records ...................................................................................... 64
Creating and Freeing Name-Value Records ............................................................................. 65
hc_nvr_create ............................................................................................................................. 65
hc_nvr_free ................................................................................................................................. 66
Building Name-Value Records ................................................................................................... 66
hc_nvr_add_value ...................................................................................................................... 67
hc_nvr_add_long ........................................................................................................................ 68
hc_nvr_add_double .................................................................................................................... 69
hc_nvr_add_string .................................................................................................................... 70
hc_nvr_add_binary .................................................................................................................... 71
hc_nvr_add_date ........................................................................................................................ 72
hc_nvr_add_time ........................................................................................................................ 73
hc_nvr_add_timestamp .............................................................................................................. 74
hc_nvr_add_from_string .......................................................................................................... 75
Retrieving Name-Value Records ................................................................................................ 76
hc_nvr_get_count ...................................................................................................................... 76
hc_nvr_get_value_at_index ................................................................................................... 77
hc_nvr_get_long ........................................................................................................................ 78
hc_nvr_get_double .................................................................................................................... 79
hc_nvr_get_string .................................................................................................................... 80
hc_nvr_get_binary .................................................................................................................... 81
hc_nvr_get_date ........................................................................................................................ 82
hc_nvr_get_time ........................................................................................................................ 82
hc_nvr_get_timestamp .............................................................................................................. 83
Creating and Converting Name-Value Records From and To String Arrays ...................... 84
hc_nvr_create_from_string_arrays .................................................................................... 84
hc_nvr_convert_to_string_arrays ....................................................................................... 86
Contents
5