|
Data Structures |
struct | lbmsdm_decimal_t_stct |
| Structure to hold a scaled decimal number. A scaled decimal number consists of a mantissa and an exponent . It represents the value . More...
|
Defines |
#define | LBMSDM_H_INCLUDED |
#define | LBMSDMExpDLL |
#define | LBMSDM_MAX_FIELD_NAME_LENGTH 255 |
| Maximum length of a field name.
|
#define | LBMSDM_TYPE_MODIFIER_ARRAY 0x0100 |
Typedefs |
typedef lbmsdm_msg_attr_t_stct | lbmsdm_msg_attr_t |
| Message attributes object for SDM (opaque).
|
typedef lbmsdm_msg_t_stct | lbmsdm_msg_t |
| Message object for SDM (opaque).
|
typedef uint16_t | lbmsdm_field_type_t |
| Type definition for an SDM field type.
|
typedef lbmsdm_iter_t_stct | lbmsdm_iter_t |
| Message iterator object for SDM (opaque).
|
typedef lbmsdm_decimal_t_stct | lbmsdm_decimal_t |
| Structure to hold a scaled decimal number. A scaled decimal number consists of a mantissa and an exponent . It represents the value .
|
Enumerations |
enum | {
LBMSDM_TYPE_INVALID = 0,
LBMSDM_TYPE_BOOLEAN = 1,
LBMSDM_TYPE_INT8 = 2,
LBMSDM_TYPE_UINT8 = 3,
LBMSDM_TYPE_INT16 = 4,
LBMSDM_TYPE_UINT16 = 5,
LBMSDM_TYPE_INT32 = 6,
LBMSDM_TYPE_UINT32 = 7,
LBMSDM_TYPE_INT64 = 8,
LBMSDM_TYPE_UINT64 = 9,
LBMSDM_TYPE_FLOAT = 10,
LBMSDM_TYPE_DOUBLE = 11,
LBMSDM_TYPE_DECIMAL = 12,
LBMSDM_TYPE_TIMESTAMP = 13,
LBMSDM_TYPE_MESSAGE = 14,
LBMSDM_TYPE_STRING = 15,
LBMSDM_TYPE_UNICODE = 16,
LBMSDM_TYPE_BLOB = 17,
LBMSDM_TYPE_ARRAY_BOOLEAN = LBMSDM_TYPE_BOOLEAN | LBMSDM_TYPE_MODIFIER_ARRAY,
LBMSDM_TYPE_ARRAY_INT8 = LBMSDM_TYPE_INT8 | LBMSDM_TYPE_MODIFIER_ARRAY,
LBMSDM_TYPE_ARRAY_UINT8 = (LBMSDM_TYPE_UINT8 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_INT16 = (LBMSDM_TYPE_INT16 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_UINT16 = (LBMSDM_TYPE_UINT16 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_INT32 = (LBMSDM_TYPE_INT32 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_UINT32 = (LBMSDM_TYPE_UINT32 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_INT64 = (LBMSDM_TYPE_INT64 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_UINT64 = (LBMSDM_TYPE_UINT64 | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_FLOAT = (LBMSDM_TYPE_FLOAT | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_DOUBLE = (LBMSDM_TYPE_DOUBLE | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_DECIMAL = (LBMSDM_TYPE_DECIMAL | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_TIMESTAMP = (LBMSDM_TYPE_TIMESTAMP | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_MESSAGE = (LBMSDM_TYPE_MESSAGE | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_STRING = (LBMSDM_TYPE_STRING | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_UNICODE = (LBMSDM_TYPE_UNICODE | LBMSDM_TYPE_MODIFIER_ARRAY),
LBMSDM_TYPE_ARRAY_BLOB = (LBMSDM_TYPE_BLOB | LBMSDM_TYPE_MODIFIER_ARRAY)
} |
| SDM field type definitions. More...
|
enum | {
LBMSDM_SUCCESS = 0,
LBMSDM_FAILURE = -1,
LBMSDM_FIELD_IS_NULL = 1,
LBMSDM_NO_MORE_FIELDS = 2,
LBMSDM_INSUFFICIENT_BUFFER_LENGTH = 3
} |
| SDM API function return codes. More...
|
enum | {
LBMSDM_ERR_EINVAL = 1,
LBMSDM_ERR_ENOMEM,
LBMSDM_ERR_NAMETOOLONG,
LBMSDM_ERR_DUPLICATE_FIELD,
LBMSDM_ERR_BAD_TYPE,
LBMSDM_ERR_FIELD_NOT_FOUND,
LBMSDM_ERR_MSG_INVALID,
LBMSDM_ERR_CANNOT_CONVERT,
LBMSDM_ERR_NOT_ARRAY,
LBMSDM_ERR_NOT_SCALAR,
LBMSDM_ERR_ELEMENT_NOT_FOUND,
LBMSDM_ERR_TYPE_NOT_SUPPORTED,
LBMSDM_ERR_TYPE_MISMATCH,
LBMSDM_ERR_UNICODE_CONVERSION,
LBMSDM_ERR_FIELD_IS_NULL,
LBMSDM_ERR_ADDING_FIELD,
LBMSDM_ERR_ITERATOR_INVALID,
LBMSDM_ERR_DELETING_FIELD,
LBMSDM_ERR_INVALID_FIELD_NAME
} |
| SDM error codes. More...
|
Functions |
LBMSDMExpDLL int | lbmsdm_errnum (void) |
| Return the error number last encountered by this thread.
|
LBMSDMExpDLL const char * | lbmsdm_errmsg (void) |
| Return an ASCII string containing the error message last encountered by this thread.
|
LBMSDMExpDLL int | lbmsdm_win32_static_init (void) |
| Perform required initialization under Windows. This function needs to be called before any other LBM SDM API function, but only when using the static version of the LBM SDM library on Windows.
|
LBMSDMExpDLL int | lbmsdm_msg_create (lbmsdm_msg_t **Message) |
| Create an SDM message to be filled in and sent.
|
LBMSDMExpDLL int | lbmsdm_msg_create_ex (lbmsdm_msg_t **Message, const lbmsdm_msg_attr_t *Attributes) |
| Create an SDM message to be filled in and sent, with options.
|
LBMSDMExpDLL int | lbmsdm_msg_parse (lbmsdm_msg_t **Message, const char *Data, size_t Length) |
| Create an SDM message to be parsed and processed from an existing buffer.
|
LBMSDMExpDLL int | lbmsdm_msg_parse_ex (lbmsdm_msg_t **Message, const char *Data, size_t Length, const lbmsdm_msg_attr_t *Attributes) |
| Create an SDM message to be parsed and processed from an existing buffer, with options.
|
LBMSDMExpDLL int | lbmsdm_msg_parse_reuse (lbmsdm_msg_t *Message, const char *Data, size_t Length) |
| Create an SDM message to be parsed and processed from an existing buffer, using an already-existing lbmsdm_msg_t structure.
|
LBMSDMExpDLL int | lbmsdm_msg_clone (lbmsdm_msg_t **Message, const lbmsdm_msg_t *Original) |
| Clone an existing SDM message.
|
LBMSDMExpDLL int | lbmsdm_msg_clear (lbmsdm_msg_t *Message) |
| Clear an SDM message, deleting all fields in the message.
|
LBMSDMExpDLL int | lbmsdm_msg_destroy (lbmsdm_msg_t *Message) |
| Destroy an SDM message object.
|
LBMSDMExpDLL int | lbmsdm_msg_dump (lbmsdm_msg_t *Message, char *Buffer, size_t Size) |
| Dump a message into a printable string.
|
LBMSDMExpDLL int | lbmsdm_msg_add_boolean (lbmsdm_msg_t *Message, const char *Name, uint8_t Value) |
| Add a field to a message.
|
LBMSDMExpDLL int | lbmsdm_msg_add_int8 (lbmsdm_msg_t *Message, const char *Name, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint8 (lbmsdm_msg_t *Message, const char *Name, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int16 (lbmsdm_msg_t *Message, const char *Name, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint16 (lbmsdm_msg_t *Message, const char *Name, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int32 (lbmsdm_msg_t *Message, const char *Name, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint32 (lbmsdm_msg_t *Message, const char *Name, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int64 (lbmsdm_msg_t *Message, const char *Name, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint64 (lbmsdm_msg_t *Message, const char *Name, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_float (lbmsdm_msg_t *Message, const char *Name, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_double (lbmsdm_msg_t *Message, const char *Name, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_decimal (lbmsdm_msg_t *Message, const char *Name, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_timestamp (lbmsdm_msg_t *Message, const char *Name, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_message (lbmsdm_msg_t *Message, const char *Name, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_string (lbmsdm_msg_t *Message, const char *Name, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_unicode (lbmsdm_msg_t *Message, const char *Name, const wchar_t *Value, size_t Length) |
| Add a unicode field to a message.
|
LBMSDMExpDLL int | lbmsdm_msg_add_blob (lbmsdm_msg_t *Message, const char *Name, const void *Value, size_t Length) |
| Add a BLOB field to a message.
|
LBMSDMExpDLL int | lbmsdm_msg_add_boolean_array (lbmsdm_msg_t *Message, const char *Name) |
| Add an array field to a message.
|
LBMSDMExpDLL int | lbmsdm_msg_add_int8_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint8_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_int16_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint16_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_int32_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint32_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_int64_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint64_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_float_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_double_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_decimal_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_timestamp_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_message_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_string_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_unicode_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_blob_array (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_add_boolean_elem_idx (lbmsdm_msg_t *Message, size_t Index, uint8_t Value) |
| Set the value of an array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_add_int8_elem_idx (lbmsdm_msg_t *Message, size_t Index, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint8_elem_idx (lbmsdm_msg_t *Message, size_t Index, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int16_elem_idx (lbmsdm_msg_t *Message, size_t Index, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint16_elem_idx (lbmsdm_msg_t *Message, size_t Index, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int32_elem_idx (lbmsdm_msg_t *Message, size_t Index, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint32_elem_idx (lbmsdm_msg_t *Message, size_t Index, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int64_elem_idx (lbmsdm_msg_t *Message, size_t Index, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint64_elem_idx (lbmsdm_msg_t *Message, size_t Index, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_float_elem_idx (lbmsdm_msg_t *Message, size_t Index, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_double_elem_idx (lbmsdm_msg_t *Message, size_t Index, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_decimal_elem_idx (lbmsdm_msg_t *Message, size_t Index, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_timestamp_elem_idx (lbmsdm_msg_t *Message, size_t Index, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_message_elem_idx (lbmsdm_msg_t *Message, size_t Index, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_string_elem_idx (lbmsdm_msg_t *Message, size_t Index, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_unicode_elem_idx (lbmsdm_msg_t *Message, size_t Index, const wchar_t *Value, size_t Length) |
| Set the value of a unicode array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_add_blob_elem_idx (lbmsdm_msg_t *Message, size_t Index, const void *Value, size_t Length) |
| Set the value of a blob array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_add_boolean_elem_name (lbmsdm_msg_t *Message, const char *Name, uint8_t Value) |
| Add an array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_add_int8_elem_name (lbmsdm_msg_t *Message, const char *Name, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint8_elem_name (lbmsdm_msg_t *Message, const char *Name, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int16_elem_name (lbmsdm_msg_t *Message, const char *Name, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint16_elem_name (lbmsdm_msg_t *Message, const char *Name, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int32_elem_name (lbmsdm_msg_t *Message, const char *Name, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint32_elem_name (lbmsdm_msg_t *Message, const char *Name, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_int64_elem_name (lbmsdm_msg_t *Message, const char *Name, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_uint64_elem_name (lbmsdm_msg_t *Message, const char *Name, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_float_elem_name (lbmsdm_msg_t *Message, const char *Name, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_double_elem_name (lbmsdm_msg_t *Message, const char *Name, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_decimal_elem_name (lbmsdm_msg_t *Message, const char *Name, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_timestamp_elem_name (lbmsdm_msg_t *Message, const char *Name, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_message_elem_name (lbmsdm_msg_t *Message, const char *Name, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_string_elem_name (lbmsdm_msg_t *Message, const char *Name, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_add_unicode_elem_name (lbmsdm_msg_t *Message, const char *Name, const wchar_t *Value, size_t Length) |
| Add a unicode array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_add_blob_elem_name (lbmsdm_msg_t *Message, const char *Name, const void *Value, size_t Length) |
| Add a BLOB array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_add_boolean_elem (lbmsdm_iter_t *Iterator, uint8_t Value) |
| Add an array field element in a message referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_add_int8_elem (lbmsdm_iter_t *Iterator, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_uint8_elem (lbmsdm_iter_t *Iterator, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_int16_elem (lbmsdm_iter_t *Iterator, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_uint16_elem (lbmsdm_iter_t *Iterator, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_int32_elem (lbmsdm_iter_t *Iterator, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_uint32_elem (lbmsdm_iter_t *Iterator, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_int64_elem (lbmsdm_iter_t *Iterator, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_uint64_elem (lbmsdm_iter_t *Iterator, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_float_elem (lbmsdm_iter_t *Iterator, float Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_double_elem (lbmsdm_iter_t *Iterator, double Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_decimal_elem (lbmsdm_iter_t *Iterator, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_timestamp_elem (lbmsdm_iter_t *Iterator, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_message_elem (lbmsdm_iter_t *Iterator, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_string_elem (lbmsdm_iter_t *Iterator, const char *Value) |
LBMSDMExpDLL int | lbmsdm_iter_add_unicode_elem (lbmsdm_iter_t *Iterator, const wchar_t *Value, size_t Length) |
| Add a unicode array field element in a message referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_add_blob_elem (lbmsdm_iter_t *Iterator, const void *Value, size_t Length) |
| Add a BLOB array field element in a message referenced by an iterator.
|
LBMSDMExpDLL const char * | lbmsdm_msg_get_data (lbmsdm_msg_t *Message) |
| Get the data buffer for a constructed message, after all fields have been added to the message.
|
LBMSDMExpDLL size_t | lbmsdm_msg_get_datalen (lbmsdm_msg_t *Message) |
| Get the length of the data buffer for a constructed message, after all fields have been added to the message.
|
LBMSDMExpDLL int | lbmsdm_msg_get_fldcnt (lbmsdm_msg_t *Message) |
| Get the number of fields in a message.
|
LBMSDMExpDLL int | lbmsdm_iter_create (lbmsdm_iter_t **Iterator, lbmsdm_msg_t *Message) |
| Create an SDM message iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_destroy (lbmsdm_iter_t *Iterator) |
| Destroy an SDM message iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_first (lbmsdm_iter_t *Iterator) |
| Position an iterator to the first field in the message.
|
LBMSDMExpDLL int | lbmsdm_iter_next (lbmsdm_iter_t *Iterator) |
| Position an iterator to the next field in the message.
|
LBMSDMExpDLL const char * | lbmsdm_msg_get_name_idx (lbmsdm_msg_t *Message, size_t Index) |
| Get the name of a field in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_idx_name (lbmsdm_msg_t *Message, const char *Name) |
| Get the index of a field in a message by field name.
|
LBMSDMExpDLL const char * | lbmsdm_iter_get_name (lbmsdm_iter_t *Iterator) |
| Get the name of the current field for an iterator.
|
LBMSDMExpDLL lbmsdm_field_type_t | lbmsdm_msg_get_type_name (lbmsdm_msg_t *Message, const char *Name) |
| Get the type of a field in a message by field name.
|
LBMSDMExpDLL lbmsdm_field_type_t | lbmsdm_msg_get_type_idx (lbmsdm_msg_t *Message, size_t Index) |
| Get the type of a field in a message by field index.
|
LBMSDMExpDLL lbmsdm_field_type_t | lbmsdm_iter_get_type (lbmsdm_iter_t *Iterator) |
| Get the type of the current field for an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_is_null_name (lbmsdm_msg_t *Message, const char *Name) |
| Determine if a field in a message is null, by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_is_null_idx (lbmsdm_msg_t *Message, size_t Index) |
| Determine if a field in a message is null, by field index.
|
LBMSDMExpDLL int | lbmsdm_iter_is_null (lbmsdm_iter_t *Iterator) |
| Determine if the field referenced by an iterator is null.
|
LBMSDMExpDLL int | lbmsdm_msg_get_elemcnt_name (lbmsdm_msg_t *Message, const char *Name) |
| Get the number of elements in an array field in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_elemcnt_idx (lbmsdm_msg_t *Message, size_t Index) |
| Get the number of elements in an array field by field index.
|
LBMSDMExpDLL int | lbmsdm_iter_get_elemcnt (lbmsdm_iter_t *Iterator) |
| Get the number of elements in the current array field for an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_get_len_name (lbmsdm_msg_t *Message, const char *Name) |
| Get the length (in bytes) required for a field in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_len_idx (lbmsdm_msg_t *Message, size_t Index) |
| Get the length (in bytes) required for a field in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_iter_get_len (lbmsdm_iter_t *Iterator) |
| Get the length (in bytes) required for the current field for an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_get_elemlen_name (lbmsdm_msg_t *Message, const char *Name, size_t Element) |
| Get the length (in bytes) required for an array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_elemlen_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element) |
| Get the length (in bytes) required for an array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_iter_get_elemlen (lbmsdm_iter_t *Iterator, size_t Element) |
| Get the length (in bytes) required for an element of the current array field for an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_get_boolean_idx (lbmsdm_msg_t *Message, size_t Index, uint8_t *Value) |
| Fetch a field value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_int8_idx (lbmsdm_msg_t *Message, size_t Index, int8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint8_idx (lbmsdm_msg_t *Message, size_t Index, uint8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int16_idx (lbmsdm_msg_t *Message, size_t Index, int16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint16_idx (lbmsdm_msg_t *Message, size_t Index, uint16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int32_idx (lbmsdm_msg_t *Message, size_t Index, int32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint32_idx (lbmsdm_msg_t *Message, size_t Index, uint32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int64_idx (lbmsdm_msg_t *Message, size_t Index, int64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint64_idx (lbmsdm_msg_t *Message, size_t Index, uint64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_float_idx (lbmsdm_msg_t *Message, size_t Index, float *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_double_idx (lbmsdm_msg_t *Message, size_t Index, double *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_decimal_idx (lbmsdm_msg_t *Message, size_t Index, lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_timestamp_idx (lbmsdm_msg_t *Message, size_t Index, struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_message_idx (lbmsdm_msg_t *Message, size_t Index, lbmsdm_msg_t **Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_string_idx (lbmsdm_msg_t *Message, size_t Index, char *Value, size_t *Size) |
| Fetch a string field value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_unicode_idx (lbmsdm_msg_t *Message, size_t Index, wchar_t *Value, size_t *Size) |
| Fetch a unicode field value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_blob_idx (lbmsdm_msg_t *Message, size_t Index, void *Value, size_t *Size) |
| Fetch a BLOB field value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_boolean_name (lbmsdm_msg_t *Message, const char *Name, uint8_t *Value) |
| Fetch a field value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_int8_name (lbmsdm_msg_t *Message, const char *Name, int8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint8_name (lbmsdm_msg_t *Message, const char *Name, uint8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int16_name (lbmsdm_msg_t *Message, const char *Name, int16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint16_name (lbmsdm_msg_t *Message, const char *Name, uint16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int32_name (lbmsdm_msg_t *Message, const char *Name, int32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint32_name (lbmsdm_msg_t *Message, const char *Name, uint32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int64_name (lbmsdm_msg_t *Message, const char *Name, int64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint64_name (lbmsdm_msg_t *Message, const char *Name, uint64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_float_name (lbmsdm_msg_t *Message, const char *Name, float *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_double_name (lbmsdm_msg_t *Message, const char *Name, double *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_decimal_name (lbmsdm_msg_t *Message, const char *Name, lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_timestamp_name (lbmsdm_msg_t *Message, const char *Name, struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_message_name (lbmsdm_msg_t *Message, const char *Name, lbmsdm_msg_t **Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_string_name (lbmsdm_msg_t *Message, const char *Name, char *Value, size_t *Size) |
| Fetch a string field value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_unicode_name (lbmsdm_msg_t *Message, const char *Name, wchar_t *Value, size_t *Size) |
| Fetch a unicode field value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_blob_name (lbmsdm_msg_t *Message, const char *Name, void *Value, size_t *Size) |
| Fetch a BLOB field value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_get_boolean (lbmsdm_iter_t *Iterator, uint8_t *Value) |
| Fetch a field value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_get_int8 (lbmsdm_iter_t *Iterator, int8_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint8 (lbmsdm_iter_t *Iterator, uint8_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_int16 (lbmsdm_iter_t *Iterator, int16_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint16 (lbmsdm_iter_t *Iterator, uint16_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_int32 (lbmsdm_iter_t *Iterator, int32_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint32 (lbmsdm_iter_t *Iterator, uint32_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_int64 (lbmsdm_iter_t *Iterator, int64_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint64 (lbmsdm_iter_t *Iterator, uint64_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_float (lbmsdm_iter_t *Iterator, float *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_double (lbmsdm_iter_t *Iterator, double *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_decimal (lbmsdm_iter_t *Iterator, lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_timestamp (lbmsdm_iter_t *Iterator, struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_message (lbmsdm_iter_t *Iterator, lbmsdm_msg_t **Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_string (lbmsdm_iter_t *Iterator, char *Value, size_t *Size) |
| Fetch a string field value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_get_unicode (lbmsdm_iter_t *Iterator, wchar_t *Value, size_t *Size) |
| Fetch a unicode field value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_get_blob (lbmsdm_iter_t *Iterator, void *Value, size_t *Size) |
| Fetch a BLOB field value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_get_boolean_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint8_t *Value) |
| Fetch an array field element value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_int8_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint8_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int16_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint16_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int32_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint32_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int64_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint64_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_float_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, float *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_double_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, double *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_decimal_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_timestamp_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_message_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, lbmsdm_msg_t **Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_string_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, char *Value, size_t *Size) |
| Fetch a string array field element value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_unicode_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, wchar_t *Value, size_t *Size) |
| Fetch a unicode array field element value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_blob_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, void *Value, size_t *Size) |
| Fetch a BLOB array field element value from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_get_boolean_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint8_t *Value) |
| Fetch an array field element value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_int8_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint8_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint8_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int16_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint16_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint16_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int32_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint32_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint32_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_int64_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_uint64_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint64_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_float_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, float *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_double_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, double *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_decimal_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_timestamp_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_message_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, lbmsdm_msg_t **Value) |
LBMSDMExpDLL int | lbmsdm_msg_get_string_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, char *Value, size_t *Size) |
| Fetch a string array field element value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_unicode_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, wchar_t *Value, size_t *Size) |
| Fetch a unicode array field element value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_get_blob_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, void *Value, size_t *Size) |
| Fetch a BLOB array field element value from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_get_boolean_elem (lbmsdm_iter_t *Iterator, size_t Element, uint8_t *Value) |
| Fetch an array field element value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_get_int8_elem (lbmsdm_iter_t *Iterator, size_t Element, int8_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint8_elem (lbmsdm_iter_t *Iterator, size_t Element, uint8_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_int16_elem (lbmsdm_iter_t *Iterator, size_t Element, int16_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint16_elem (lbmsdm_iter_t *Iterator, size_t Element, uint16_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_int32_elem (lbmsdm_iter_t *Iterator, size_t Element, int32_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint32_elem (lbmsdm_iter_t *Iterator, size_t Element, uint32_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_int64_elem (lbmsdm_iter_t *Iterator, size_t Element, int64_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_uint64_elem (lbmsdm_iter_t *Iterator, size_t Element, uint64_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_float_elem (lbmsdm_iter_t *Iterator, size_t Element, float *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_double_elem (lbmsdm_iter_t *Iterator, size_t Element, double *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_decimal_elem (lbmsdm_iter_t *Iterator, size_t Element, lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_timestamp_elem (lbmsdm_iter_t *Iterator, size_t Element, struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_message_elem (lbmsdm_iter_t *Iterator, size_t Element, lbmsdm_msg_t **Value) |
LBMSDMExpDLL int | lbmsdm_iter_get_string_elem (lbmsdm_iter_t *Iterator, size_t Element, char *Value, size_t *Size) |
| Fetch a string array field element value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_get_unicode_elem (lbmsdm_iter_t *Iterator, size_t Element, wchar_t *Value, size_t *Size) |
| Fetch a unicode array field element value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_get_blob_elem (lbmsdm_iter_t *Iterator, size_t Element, void *Value, size_t *Size) |
| Fetch a blob array field element value from the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_set_null_name (lbmsdm_msg_t *Message, const char *Name) |
| Set a field in a message to null, by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_set_null_idx (lbmsdm_msg_t *Message, size_t Index) |
| Set a field in a message to null, by field index.
|
LBMSDMExpDLL int | lbmsdm_iter_set_null (lbmsdm_iter_t *Iterator) |
| Set the field referenced by an iterator to null.
|
LBMSDMExpDLL int | lbmsdm_msg_set_boolean_idx (lbmsdm_msg_t *Message, size_t Index, uint8_t Value) |
| Set a field value in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_set_int8_idx (lbmsdm_msg_t *Message, size_t Index, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint8_idx (lbmsdm_msg_t *Message, size_t Index, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int16_idx (lbmsdm_msg_t *Message, size_t Index, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint16_idx (lbmsdm_msg_t *Message, size_t Index, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int32_idx (lbmsdm_msg_t *Message, size_t Index, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint32_idx (lbmsdm_msg_t *Message, size_t Index, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int64_idx (lbmsdm_msg_t *Message, size_t Index, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint64_idx (lbmsdm_msg_t *Message, size_t Index, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_float_idx (lbmsdm_msg_t *Message, size_t Index, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_double_idx (lbmsdm_msg_t *Message, size_t Index, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_decimal_idx (lbmsdm_msg_t *Message, size_t Index, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_timestamp_idx (lbmsdm_msg_t *Message, size_t Index, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_message_idx (lbmsdm_msg_t *Message, size_t Index, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_string_idx (lbmsdm_msg_t *Message, size_t Index, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_unicode_idx (lbmsdm_msg_t *Message, size_t Index, const wchar_t *Value, size_t Length) |
| Set a unicode field value in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_set_blob_idx (lbmsdm_msg_t *Message, size_t Index, const void *Value, size_t Length) |
| Set a BLOB field value in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_set_boolean_name (lbmsdm_msg_t *Message, const char *Name, uint8_t Value) |
| Set a field value in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_set_int8_name (lbmsdm_msg_t *Message, const char *Name, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint8_name (lbmsdm_msg_t *Message, const char *Name, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int16_name (lbmsdm_msg_t *Message, const char *Name, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint16_name (lbmsdm_msg_t *Message, const char *Name, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int32_name (lbmsdm_msg_t *Message, const char *Name, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint32_name (lbmsdm_msg_t *Message, const char *Name, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int64_name (lbmsdm_msg_t *Message, const char *Name, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint64_name (lbmsdm_msg_t *Message, const char *Name, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_float_name (lbmsdm_msg_t *Message, const char *Name, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_double_name (lbmsdm_msg_t *Message, const char *Name, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_decimal_name (lbmsdm_msg_t *Message, const char *Name, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_timestamp_name (lbmsdm_msg_t *Message, const char *Name, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_message_name (lbmsdm_msg_t *Message, const char *Name, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_string_name (lbmsdm_msg_t *Message, const char *Name, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_unicode_name (lbmsdm_msg_t *Message, const char *Name, const wchar_t *Value, size_t Length) |
| Set a unicode field value in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_set_blob_name (lbmsdm_msg_t *Message, const char *Name, const void *Value, size_t Length) |
| Set a BLOB field value in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_set_boolean (lbmsdm_iter_t *Iterator, uint8_t Value) |
| Set a field value in the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_set_int8 (lbmsdm_iter_t *Iterator, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint8 (lbmsdm_iter_t *Iterator, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_int16 (lbmsdm_iter_t *Iterator, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint16 (lbmsdm_iter_t *Iterator, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_int32 (lbmsdm_iter_t *Iterator, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint32 (lbmsdm_iter_t *Iterator, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_int64 (lbmsdm_iter_t *Iterator, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint64 (lbmsdm_iter_t *Iterator, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_float (lbmsdm_iter_t *Iterator, float Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_double (lbmsdm_iter_t *Iterator, double Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_decimal (lbmsdm_iter_t *Iterator, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_timestamp (lbmsdm_iter_t *Iterator, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_message (lbmsdm_iter_t *Iterator, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_string (lbmsdm_iter_t *Iterator, const char *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_unicode (lbmsdm_iter_t *Iterator, const wchar_t *Value, size_t Length) |
| Set a unicode field value in the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_set_blob (lbmsdm_iter_t *Iterator, const void *Value, size_t Length) |
| Set a BLOB field value in the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_set_boolean_array_idx (lbmsdm_msg_t *Message, size_t Index) |
| Set a field in a message by field index to an array field.
|
LBMSDMExpDLL int | lbmsdm_msg_set_int8_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint8_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_int16_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint16_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_int32_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint32_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_int64_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint64_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_float_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_double_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_decimal_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_timestamp_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_message_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_string_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_unicode_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_blob_array_idx (lbmsdm_msg_t *Message, size_t Index) |
LBMSDMExpDLL int | lbmsdm_msg_set_boolean_array_name (lbmsdm_msg_t *Message, const char *Name) |
| Set a field in a message by field name to an array field.
|
LBMSDMExpDLL int | lbmsdm_msg_set_int8_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint8_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_int16_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint16_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_int32_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint32_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_int64_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint64_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_float_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_double_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_decimal_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_timestamp_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_message_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_string_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_unicode_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_msg_set_blob_array_name (lbmsdm_msg_t *Message, const char *Name) |
LBMSDMExpDLL int | lbmsdm_iter_set_boolean_array (lbmsdm_iter_t *Iterator) |
| Set a field in a message by field name to an array field.
|
LBMSDMExpDLL int | lbmsdm_iter_set_int8_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint8_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_int16_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint16_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_int32_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint32_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_int64_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint64_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_float_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_double_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_decimal_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_timestamp_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_message_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_string_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_unicode_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_iter_set_blob_array (lbmsdm_iter_t *Iterator) |
LBMSDMExpDLL int | lbmsdm_msg_set_boolean_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint8_t Value) |
| Set the value of an array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_set_int8_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint8_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int16_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint16_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int32_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint32_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int64_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint64_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_float_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_double_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_decimal_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_timestamp_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_message_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_string_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_unicode_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, const wchar_t *Value, size_t Length) |
| Set the value of a unicode array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_set_blob_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element, const void *Value, size_t Length) |
| Set the value of a BLOB array field element in a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_set_boolean_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint8_t Value) |
| Set the value of an array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_set_int8_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint8_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int16_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint16_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int32_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint32_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_int64_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_uint64_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_float_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, float Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_double_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, double Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_decimal_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_timestamp_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_message_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_string_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, const char *Value) |
LBMSDMExpDLL int | lbmsdm_msg_set_unicode_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, const wchar_t *Value, size_t Length) |
| Set the value of a unicode array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_msg_set_blob_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element, const void *Value, size_t Length) |
| Set the value of a BLOB array field element in a message by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_set_boolean_elem (lbmsdm_iter_t *Iterator, size_t Element, uint8_t Value) |
| Set the value of an array field element in the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_set_int8_elem (lbmsdm_iter_t *Iterator, size_t Element, int8_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint8_elem (lbmsdm_iter_t *Iterator, size_t Element, uint8_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_int16_elem (lbmsdm_iter_t *Iterator, size_t Element, int16_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint16_elem (lbmsdm_iter_t *Iterator, size_t Element, uint16_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_int32_elem (lbmsdm_iter_t *Iterator, size_t Element, int32_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint32_elem (lbmsdm_iter_t *Iterator, size_t Element, uint32_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_int64_elem (lbmsdm_iter_t *Iterator, size_t Element, int64_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_uint64_elem (lbmsdm_iter_t *Iterator, size_t Element, uint64_t Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_float_elem (lbmsdm_iter_t *Iterator, size_t Element, float Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_double_elem (lbmsdm_iter_t *Iterator, size_t Element, double Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_decimal_elem (lbmsdm_iter_t *Iterator, size_t Element, const lbmsdm_decimal_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_timestamp_elem (lbmsdm_iter_t *Iterator, size_t Element, const struct timeval *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_message_elem (lbmsdm_iter_t *Iterator, size_t Element, const lbmsdm_msg_t *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_string_elem (lbmsdm_iter_t *Iterator, size_t Element, const char *Value) |
LBMSDMExpDLL int | lbmsdm_iter_set_unicode_elem (lbmsdm_iter_t *Iterator, size_t Element, const wchar_t *Value, size_t Length) |
| Set the value of a unicode array field element in the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_iter_set_blob_elem (lbmsdm_iter_t *Iterator, size_t Element, const void *Value, size_t Length) |
| Set the value of a BLOB array field element in the field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_del_idx (lbmsdm_msg_t *Message, size_t Index) |
| Delete a field from a message by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_del_name (lbmsdm_msg_t *Message, const char *Name) |
| Delete a field from a message by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_del (lbmsdm_iter_t *Iterator) |
| Delete a field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_del_elem_idx (lbmsdm_msg_t *Message, size_t Index, size_t Element) |
| Delete an element from an array field by field index.
|
LBMSDMExpDLL int | lbmsdm_msg_del_elem_name (lbmsdm_msg_t *Message, const char *Name, size_t Element) |
| Delete an element from an array field by field name.
|
LBMSDMExpDLL int | lbmsdm_iter_del_elem (lbmsdm_iter_t *Iterator, size_t Element) |
| Delete an element from an array field referenced by an iterator.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_create (lbmsdm_msg_attr_t **Attributes) |
| Create and fill an SDM message attribute object with the default values.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_delete (lbmsdm_msg_attr_t *Attributes) |
| Delete an SDM message attribute object.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_dup (lbmsdm_msg_attr_t **Attributes, lbmsdm_msg_attr_t *Original) |
| Duplicate an SDM message attribute object.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_setopt (lbmsdm_msg_attr_t *Attributes, const char *Option, void *Value, size_t Length) |
| Set an option for the given SDM message attribute object.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_str_setopt (lbmsdm_msg_attr_t *Attributes, const char *Option, const char *Value) |
| Set an option for the given SDM message attribute object using a string.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_getopt (lbmsdm_msg_attr_t *Attributes, const char *Option, void *Value, size_t *Length) |
| Retrieve the value of an option for the given SDM message attribute.
|
LBMSDMExpDLL int | lbmsdm_msg_attr_str_getopt (lbmsdm_msg_attr_t *Attributes, const char *Option, char *Value, size_t *Length) |
| Retrieve the value of an option for the given SDM message attribute as a string.
|
All of the documentation and software included in this and any other Informatica Corporation Ultra Messaging Releases Copyright (C) Informatica Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with Informatica Corporation.
Copyright (C) 2007-2014, Informatica Corporation. All Rights Reserved.
THE SOFTWARE IS PROVIDED "AS IS" AND INFORMATICA DISCLAIMS ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. INFORMATICA DOES NOT WARRANT THAT USE OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE. INFORMATICA SHALL NOT, UNDER ANY CIRCUMSTANCES, BE LIABLE TO LICENSEE FOR LOST PROFITS, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR INDIRECT DAMAGES ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE TRANSACTIONS CONTEMPLATED HEREUNDER, EVEN IF INFORMATICA HAS BEEN APPRISED OF THE LIKELIHOOD OF SUCH DAMAGES.
The LBM Self-Describing Message (SDM) API provides a framework for applications to create and use messages containing self-describing data (name and type). An SDM message contains one or more fields. Each field consists of: