519 #if !defined(LBMSDM_H_INCLUDED) 520 #define LBMSDM_H_INCLUDED 522 #if defined(__cplusplus) 529 #include <winsock2.h> 530 #if !defined(DONT_TYPEDEF_INT_T) 531 typedef __int8 int8_t;
532 typedef __int16 int16_t;
533 typedef __int32 int32_t;
534 typedef __int64 int64_t;
536 typedef unsigned __int8 uint8_t;
537 typedef unsigned __int16 uint16_t;
538 typedef unsigned __int32 uint32_t;
539 typedef unsigned __int64 uint64_t;
541 #if (_MSC_VER < 1900) 546 #define PRId64 "I64d" 550 #define PRIu64 "I64u" 554 #include <inttypes.h> 564 #include <inttypes.h> 565 #include <sys/time.h> 570 #if defined(_DLL) && defined(LBM_EXPORT_SYMS) 571 #define LBMSDMExpDLL __declspec(dllexport) 572 #elif defined(LBM_STATIC_LIB) 575 #define LBMSDMExpDLL __declspec(dllimport) 577 #elif defined(__TANDEM) 578 #if defined(LBM_EXPORT_SYMS) 579 #define LBMSDMExpDLL export$ 581 #define LBMSDMExpDLL import$ 589 #define LBMSDM_MAX_FIELD_NAME_LENGTH 255 591 struct lbmsdm_msg_attr_t_stct;
596 struct lbmsdm_msg_t_stct;
605 struct lbmsdm_iter_t_stct;
610 #define LBMSDM_TYPE_MODIFIER_ARRAY 0x0100 774 #if defined(_WIN32) || defined(DOXYGEN) 3357 #if defined(__cplusplus) 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_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_set_message_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, const lbmsdm_msg_t *Value)
LBMSDMExpDLL int lbmsdm_iter_add_message_elem(lbmsdm_iter_t *Iterator, const lbmsdm_msg_t *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_set_int32_array_name(lbmsdm_msg_t *Message, const char *Name)
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_timestamp_name(lbmsdm_msg_t *Message, const char *Name, const struct timeval *Value)
LBMSDMExpDLL int lbmsdm_msg_add_int32(lbmsdm_msg_t *Message, const char *Name, int32_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_decimal_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_uint64(lbmsdm_msg_t *Message, const char *Name, uint64_t Value)
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_set_timestamp_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_iter_get_int8(lbmsdm_iter_t *Iterator, int8_t *Value)
LBMSDMExpDLL int lbmsdm_iter_set_decimal(lbmsdm_iter_t *Iterator, const lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_blob_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_iter_get_int64_elem(lbmsdm_iter_t *Iterator, size_t Element, int64_t *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_int8_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, int8_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_set_blob_array(lbmsdm_iter_t *Iterator)
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_get_int64_idx(lbmsdm_msg_t *Message, size_t Index, int64_t *Value)
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_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_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_add_message(lbmsdm_msg_t *Message, const char *Name, const lbmsdm_msg_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_int8_name(lbmsdm_msg_t *Message, const char *Name, int8_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_string_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_iter_set_decimal_elem(lbmsdm_iter_t *Iterator, size_t Element, const lbmsdm_decimal_t *Value)
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_add_uint32_elem_idx(lbmsdm_msg_t *Message, size_t Index, uint32_t Value)
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_get_float_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, float *Value)
LBMSDMExpDLL int lbmsdm_msg_add_int16_array(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_iter_add_double_elem(lbmsdm_iter_t *Iterator, double Value)
LBMSDMExpDLL int lbmsdm_msg_add_timestamp_elem_name(lbmsdm_msg_t *Message, const char *Name, const struct timeval *Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint16_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_set_int8_idx(lbmsdm_msg_t *Message, size_t Index, int8_t Value)
LBMSDMExpDLL int lbmsdm_msg_get_message_idx(lbmsdm_msg_t *Message, size_t Index, lbmsdm_msg_t **Value)
LBMSDMExpDLL int lbmsdm_iter_set_message(lbmsdm_iter_t *Iterator, const lbmsdm_msg_t *Value)
LBMSDMExpDLL int lbmsdm_msg_add_int8_elem_idx(lbmsdm_msg_t *Message, size_t Index, int8_t Value)
LBMSDMExpDLL int lbmsdm_iter_add_uint8_elem(lbmsdm_iter_t *Iterator, uint8_t 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_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_get_int32_name(lbmsdm_msg_t *Message, const char *Name, int32_t *Value)
LBMSDMExpDLL const char * lbmsdm_errmsg(void)
Return an ASCII string containing the error message last encountered by this thread.
LBMSDMExpDLL int lbmsdm_msg_set_double_array_idx(lbmsdm_msg_t *Message, size_t 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_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_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_create(lbmsdm_msg_t **Message)
Create an SDM message to be filled in and sent.
LBMSDMExpDLL int lbmsdm_msg_get_int16_idx(lbmsdm_msg_t *Message, size_t Index, int16_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_double_idx(lbmsdm_msg_t *Message, size_t Index, double Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint8_elem(lbmsdm_iter_t *Iterator, size_t Element, uint8_t *Value)
LBMSDMExpDLL int lbmsdm_msg_add_float(lbmsdm_msg_t *Message, const char *Name, float Value)
LBMSDMExpDLL int lbmsdm_iter_set_timestamp_elem(lbmsdm_iter_t *Iterator, size_t Element, const struct timeval *Value)
LBMSDMExpDLL int lbmsdm_iter_set_timestamp_array(lbmsdm_iter_t *Iterator)
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_uint32_array_idx(lbmsdm_msg_t *Message, size_t Index)
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_msg_add_double_array(lbmsdm_msg_t *Message, const char *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_msg_get_decimal_idx(lbmsdm_msg_t *Message, size_t Index, lbmsdm_decimal_t *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_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_add_uint32(lbmsdm_msg_t *Message, const char *Name, uint32_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_null(lbmsdm_iter_t *Iterator)
Set the field referenced by an iterator to null.
LBMSDMExpDLL int lbmsdm_msg_set_int64_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_msg_add_int8(lbmsdm_msg_t *Message, const char *Name, int8_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_message_array_idx(lbmsdm_msg_t *Message, size_t Index)
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_set_int8_array_idx(lbmsdm_msg_t *Message, size_t Index)
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_add_string_elem_idx(lbmsdm_msg_t *Message, size_t Index, const char *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_iter_get_int32_elem(lbmsdm_iter_t *Iterator, size_t Element, int32_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_add_uint8_elem_idx(lbmsdm_msg_t *Message, size_t Index, uint8_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_string_elem(lbmsdm_iter_t *Iterator, size_t Element, const char *Value)
LBMSDMExpDLL int lbmsdm_msg_add_uint64_elem_name(lbmsdm_msg_t *Message, const char *Name, uint64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_int16_elem(lbmsdm_iter_t *Iterator, size_t Element, int16_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint32_name(lbmsdm_msg_t *Message, const char *Name, uint32_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_unicode_array_idx(lbmsdm_msg_t *Message, size_t Index)
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.
Structure to hold a scaled decimal number. A scaled decimal number consists of a mantissa and an exp...
Definition: lbmsdm.h:755
LBMSDMExpDLL int lbmsdm_iter_set_int32_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_msg_add_uint8(lbmsdm_msg_t *Message, const char *Name, uint8_t Value)
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_iter_set_int8(lbmsdm_iter_t *Iterator, int8_t Value)
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_iter_destroy(lbmsdm_iter_t *Iterator)
Destroy an SDM message iterator.
LBMSDMExpDLL int lbmsdm_msg_add_int16_elem_name(lbmsdm_msg_t *Message, const char *Name, int16_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_uint8(lbmsdm_iter_t *Iterator, uint8_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint16(lbmsdm_iter_t *Iterator, uint16_t *Value)
LBMSDMExpDLL int lbmsdm_iter_get_int16_elem(lbmsdm_iter_t *Iterator, size_t Element, int16_t *Value)
LBMSDMExpDLL int lbmsdm_iter_set_int16_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_iter_set_int32_elem(lbmsdm_iter_t *Iterator, size_t Element, int32_t Value)
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_set_blob_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_msg_clear(lbmsdm_msg_t *Message)
Clear an SDM message, deleting all fields in the message.
LBMSDMExpDLL int lbmsdm_iter_get_message(lbmsdm_iter_t *Iterator, lbmsdm_msg_t **Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint32(lbmsdm_iter_t *Iterator, uint32_t *Value)
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_msg_add_blob_array(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_get_uint16_name(lbmsdm_msg_t *Message, const char *Name, uint16_t *Value)
LBMSDMExpDLL int lbmsdm_msg_get_int16_name(lbmsdm_msg_t *Message, const char *Name, int16_t *Value)
LBMSDMExpDLL int lbmsdm_msg_get_uint64_idx(lbmsdm_msg_t *Message, size_t Index, uint64_t *Value)
LBMSDMExpDLL int lbmsdm_iter_get_timestamp(lbmsdm_iter_t *Iterator, struct timeval *Value)
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 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 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_msg_add_uint32_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_iter_add_int64_elem(lbmsdm_iter_t *Iterator, int64_t Value)
struct lbmsdm_msg_attr_t_stct lbmsdm_msg_attr_t
Message attributes object for SDM (opaque).
Definition: lbmsdm.h:594
LBMSDMExpDLL int lbmsdm_iter_set_uint16_elem(lbmsdm_iter_t *Iterator, size_t Element, uint16_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_int32(lbmsdm_iter_t *Iterator, int32_t Value)
int64_t mant
Definition: lbmsdm.h:758
LBMSDMExpDLL int lbmsdm_iter_set_double_elem(lbmsdm_iter_t *Iterator, size_t Element, double Value)
LBMSDMExpDLL int lbmsdm_msg_get_timestamp_idx(lbmsdm_msg_t *Message, size_t Index, struct timeval *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_get_uint8_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, uint8_t *Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint8(lbmsdm_iter_t *Iterator, uint8_t *Value)
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_set_string_array_name(lbmsdm_msg_t *Message, const char *Name)
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_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_add_float_elem(lbmsdm_iter_t *Iterator, float Value)
LBMSDMExpDLL int lbmsdm_msg_get_int64_name(lbmsdm_msg_t *Message, const char *Name, int64_t *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_add_int8_elem_name(lbmsdm_msg_t *Message, const char *Name, int8_t Value)
struct lbmsdm_iter_t_stct lbmsdm_iter_t
Message iterator object for SDM (opaque).
Definition: lbmsdm.h:608
LBMSDMExpDLL int lbmsdm_msg_set_int64_name(lbmsdm_msg_t *Message, const char *Name, int64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_unicode_array(lbmsdm_iter_t *Iterator)
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_get_int16_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, int16_t *Value)
LBMSDMExpDLL int lbmsdm_iter_add_decimal_elem(lbmsdm_iter_t *Iterator, const lbmsdm_decimal_t *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_msg_set_decimal_array_idx(lbmsdm_msg_t *Message, size_t Index)
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_get_decimal_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint16_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_msg_set_float_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_set_uint16_name(lbmsdm_msg_t *Message, const char *Name, uint16_t Value)
LBMSDMExpDLL int lbmsdm_msg_get_int32_idx(lbmsdm_msg_t *Message, size_t Index, int32_t *Value)
LBMSDMExpDLL int lbmsdm_iter_get_float(lbmsdm_iter_t *Iterator, float *Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint16_elem(lbmsdm_iter_t *Iterator, size_t Element, uint16_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_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_get_int8_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, int8_t *Value)
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 ...
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_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_iter_get_double(lbmsdm_iter_t *Iterator, double *Value)
LBMSDMExpDLL int lbmsdm_msg_get_message_name(lbmsdm_msg_t *Message, const char *Name, lbmsdm_msg_t **Value)
LBMSDMExpDLL int lbmsdm_msg_get_timestamp_name(lbmsdm_msg_t *Message, const char *Name, struct timeval *Value)
LBMSDMExpDLL int lbmsdm_win32_static_init(void)
Perform required initialization under Windows. This function needs to be called before any other LBM ...
LBMSDMExpDLL int lbmsdm_msg_get_double_idx(lbmsdm_msg_t *Message, size_t Index, double *Value)
LBMSDMExpDLL int lbmsdm_iter_add_uint64_elem(lbmsdm_iter_t *Iterator, uint64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_uint16_array(lbmsdm_iter_t *Iterator)
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_set_int32_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, int32_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint32_elem(lbmsdm_iter_t *Iterator, size_t Element, uint32_t *Value)
uint16_t lbmsdm_field_type_t
Type definition for an SDM field type.
Definition: lbmsdm.h:603
LBMSDMExpDLL int lbmsdm_msg_set_message_idx(lbmsdm_msg_t *Message, size_t Index, const lbmsdm_msg_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_set_double_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_add_timestamp_elem_idx(lbmsdm_msg_t *Message, size_t Index, const struct timeval *Value)
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 int lbmsdm_msg_set_uint8_idx(lbmsdm_msg_t *Message, size_t Index, uint8_t 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_set_uint64_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, uint64_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_int64_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_iter_create(lbmsdm_iter_t **Iterator, lbmsdm_msg_t *Message)
Create an SDM message iterator.
LBMSDMExpDLL int lbmsdm_msg_add_decimal_elem_idx(lbmsdm_msg_t *Message, size_t Index, const lbmsdm_decimal_t *Value)
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_add_string_elem_name(lbmsdm_msg_t *Message, const char *Name, const char *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_iter_set_uint64_elem(lbmsdm_iter_t *Iterator, size_t Element, uint64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_int64(lbmsdm_iter_t *Iterator, int64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_uint32_elem(lbmsdm_iter_t *Iterator, size_t Element, uint32_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_iter_get_int32(lbmsdm_iter_t *Iterator, int32_t *Value)
LBMSDMExpDLL int lbmsdm_iter_first(lbmsdm_iter_t *Iterator)
Position an iterator to the first field in the message.
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_iter_del(lbmsdm_iter_t *Iterator)
Delete a field referenced by an iterator.
LBMSDMExpDLL int lbmsdm_msg_add_float_elem_idx(lbmsdm_msg_t *Message, size_t Index, float Value)
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 int lbmsdm_iter_next(lbmsdm_iter_t *Iterator)
Position an iterator to the next field in the message.
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_decimal_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, lbmsdm_decimal_t *Value)
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_set_uint32_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, uint32_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint64_elem(lbmsdm_iter_t *Iterator, size_t Element, uint64_t *Value)
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_iter_set_uint32_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_iter_set_double(lbmsdm_iter_t *Iterator, double Value)
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_msg_set_int16_name(lbmsdm_msg_t *Message, const char *Name, int16_t Value)
LBMSDMExpDLL int lbmsdm_msg_del_idx(lbmsdm_msg_t *Message, size_t Index)
Delete a field from a message by field index.
struct lbmsdm_msg_t_stct lbmsdm_msg_t
Message object for SDM (opaque).
Definition: lbmsdm.h:599
LBMSDMExpDLL int lbmsdm_msg_set_decimal_idx(lbmsdm_msg_t *Message, size_t Index, const lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_msg_add_int64(lbmsdm_msg_t *Message, const char *Name, int64_t Value)
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_get_float_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, float *Value)
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_iter_add_timestamp_elem(lbmsdm_iter_t *Iterator, const struct timeval *Value)
LBMSDMExpDLL int lbmsdm_msg_get_int8_name(lbmsdm_msg_t *Message, const char *Name, int8_t *Value)
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_msg_add_int16_elem_idx(lbmsdm_msg_t *Message, size_t Index, int16_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_float_array(lbmsdm_msg_t *Message, const char *Name)
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_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_iter_set_float_elem(lbmsdm_iter_t *Iterator, size_t Element, float Value)
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 l...
LBMSDMExpDLL int lbmsdm_iter_set_int8_array(lbmsdm_iter_t *Iterator)
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_set_int64_idx(lbmsdm_msg_t *Message, size_t Index, int64_t Value)
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_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_get_uint8_idx(lbmsdm_msg_t *Message, size_t Index, uint8_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_string_name(lbmsdm_msg_t *Message, const char *Name, const char *Value)
LBMSDMExpDLL int lbmsdm_iter_get_uint64(lbmsdm_iter_t *Iterator, uint64_t *Value)
LBMSDMExpDLL int lbmsdm_iter_set_timestamp(lbmsdm_iter_t *Iterator, const struct timeval *Value)
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_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_int16_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, int16_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_double_elem_name(lbmsdm_msg_t *Message, const char *Name, double Value)
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_set_uint64_name(lbmsdm_msg_t *Message, const char *Name, uint64_t Value)
LBMSDMExpDLL int lbmsdm_msg_destroy(lbmsdm_msg_t *Message)
Destroy an SDM message object.
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_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_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_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_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_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_iter_set_uint8_elem(lbmsdm_iter_t *Iterator, size_t Element, uint8_t Value)
LBMSDMExpDLL int lbmsdm_msg_get_double_name(lbmsdm_msg_t *Message, const char *Name, double *Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint64_idx(lbmsdm_msg_t *Message, size_t Index, uint64_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_int64_array(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_set_int8_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_set_int32_name(lbmsdm_msg_t *Message, const char *Name, int32_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_decimal(lbmsdm_iter_t *Iterator, lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_message_name(lbmsdm_msg_t *Message, const char *Name, const lbmsdm_msg_t *Value)
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_msg_set_timestamp_idx(lbmsdm_msg_t *Message, size_t Index, const struct timeval *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_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_msg_add_decimal_elem_name(lbmsdm_msg_t *Message, const char *Name, const lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_iter_get_double_elem(lbmsdm_iter_t *Iterator, size_t Element, double *Value)
LBMSDMExpDLL int lbmsdm_msg_set_message_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_add_uint32_elem_name(lbmsdm_msg_t *Message, const char *Name, uint32_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_iter_add_uint16_elem(lbmsdm_iter_t *Iterator, uint16_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint64_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_msg_set_int32_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, int32_t Value)
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 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_iter_set_uint64_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_msg_add_int32_elem_idx(lbmsdm_msg_t *Message, size_t Index, int32_t Value)
LBMSDMExpDLL int lbmsdm_iter_add_uint32_elem(lbmsdm_iter_t *Iterator, uint32_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_unicode_array_name(lbmsdm_msg_t *Message, const char *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_iter_set_double_array(lbmsdm_iter_t *Iterator)
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_add_timestamp(lbmsdm_msg_t *Message, const char *Name, const struct timeval *Value)
LBMSDMExpDLL int lbmsdm_msg_set_float_idx(lbmsdm_msg_t *Message, size_t Index, float Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint64_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_set_uint32_idx(lbmsdm_msg_t *Message, size_t Index, uint32_t Value)
LBMSDMExpDLL int lbmsdm_msg_get_float_name(lbmsdm_msg_t *Message, const char *Name, float *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_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.
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_iter_get_int8_elem(lbmsdm_iter_t *Iterator, size_t Element, int8_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_int32_idx(lbmsdm_msg_t *Message, size_t Index, int32_t 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_get_uint32_idx(lbmsdm_msg_t *Message, size_t Index, uint32_t *Value)
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_msg_set_timestamp_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_iter_set_int64_elem(lbmsdm_iter_t *Iterator, size_t Element, int64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_float_array(lbmsdm_iter_t *Iterator)
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_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_clone(lbmsdm_msg_t **Message, const lbmsdm_msg_t *Original)
Clone an existing SDM message. This function is not thread safe.
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_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_set_string_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, const char *Value)
LBMSDMExpDLL int lbmsdm_msg_set_int32_array_idx(lbmsdm_msg_t *Message, size_t Index)
LBMSDMExpDLL int lbmsdm_msg_get_uint16_idx(lbmsdm_msg_t *Message, size_t Index, uint16_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint16_idx(lbmsdm_msg_t *Message, size_t Index, uint16_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_float(lbmsdm_iter_t *Iterator, float Value)
LBMSDMExpDLL int lbmsdm_iter_set_string_array(lbmsdm_iter_t *Iterator)
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_set_float_name(lbmsdm_msg_t *Message, const char *Name, float Value)
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_int8_idx(lbmsdm_msg_t *Message, size_t Index, int8_t *Value)
LBMSDMExpDLL int lbmsdm_msg_get_uint8_name(lbmsdm_msg_t *Message, const char *Name, uint8_t *Value)
struct lbmsdm_decimal_t_stct lbmsdm_decimal_t
Structure to hold a scaled decimal number. A scaled decimal number consists of a mantissa and an exp...
LBMSDMExpDLL int lbmsdm_iter_set_uint64(lbmsdm_iter_t *Iterator, uint64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_message_elem(lbmsdm_iter_t *Iterator, size_t Element, const lbmsdm_msg_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_decimal_name(lbmsdm_msg_t *Message, const char *Name, const lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_iter_add_int32_elem(lbmsdm_iter_t *Iterator, int32_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint8_name(lbmsdm_msg_t *Message, const char *Name, uint8_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_decimal_elem(lbmsdm_iter_t *Iterator, size_t Element, lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint8_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_add_int64_elem_name(lbmsdm_msg_t *Message, const char *Name, int64_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_int16(lbmsdm_iter_t *Iterator, int16_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_float_elem_name(lbmsdm_msg_t *Message, const char *Name, 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_get_uint32_name(lbmsdm_msg_t *Message, const char *Name, uint32_t *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_get_int64_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, int64_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_float_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, float Value)
LBMSDMExpDLL int lbmsdm_iter_add_int16_elem(lbmsdm_iter_t *Iterator, int16_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_float_elem(lbmsdm_iter_t *Iterator, size_t Element, float *Value)
LBMSDMExpDLL int lbmsdm_msg_add_int32_array(lbmsdm_msg_t *Message, const char *Name)
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_get_float_idx(lbmsdm_msg_t *Message, size_t Index, float *Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint8_array_idx(lbmsdm_msg_t *Message, size_t 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_set_double_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, double Value)
int8_t exp
Definition: lbmsdm.h:760
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_float_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, float Value)
LBMSDMExpDLL int lbmsdm_msg_add_int32_elem_name(lbmsdm_msg_t *Message, const char *Name, int32_t Value)
LBMSDMExpDLL int lbmsdm_errnum(void)
Return the error number last encountered by this thread.
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_string(lbmsdm_msg_t *Message, const char *Name, const char *Value)
LBMSDMExpDLL int lbmsdm_iter_set_uint32(lbmsdm_iter_t *Iterator, uint32_t Value)
LBMSDMExpDLL int lbmsdm_iter_add_int8_elem(lbmsdm_iter_t *Iterator, int8_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_string_idx(lbmsdm_msg_t *Message, size_t Index, const char *Value)
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_msg_set_message_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, const lbmsdm_msg_t *Value)
LBMSDMExpDLL int lbmsdm_msg_add_double(lbmsdm_msg_t *Message, const char *Name, double Value)
LBMSDMExpDLL int lbmsdm_iter_set_message_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_iter_set_uint8_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_msg_add_int16(lbmsdm_msg_t *Message, const char *Name, int16_t Value)
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_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_msg_add_uint64_elem_idx(lbmsdm_msg_t *Message, size_t Index, uint64_t Value)
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_set_null_name(lbmsdm_msg_t *Message, const char *Name)
Set a field in a message to null, by field name.
LBMSDMExpDLL int lbmsdm_iter_set_int8_elem(lbmsdm_iter_t *Iterator, size_t Element, int8_t Value)
LBMSDMExpDLL int lbmsdm_iter_set_int64_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_iter_set_decimal_array(lbmsdm_iter_t *Iterator)
LBMSDMExpDLL int lbmsdm_msg_get_decimal_name(lbmsdm_msg_t *Message, const char *Name, lbmsdm_decimal_t *Value)
LBMSDMExpDLL int lbmsdm_msg_add_uint64_array(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_get_fldcnt(lbmsdm_msg_t *Message)
Get the number of fields in a message.
LBMSDMExpDLL int lbmsdm_msg_add_uint16_array(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL const char * lbmsdm_iter_get_name(lbmsdm_iter_t *Iterator)
Get the name of the current field for an iterator.
LBMSDMExpDLL int lbmsdm_msg_set_int16_idx(lbmsdm_msg_t *Message, size_t Index, int16_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_int16_array_idx(lbmsdm_msg_t *Message, size_t Index)
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_msg_dump(lbmsdm_msg_t *Message, char *Buffer, size_t Size)
Dump a message into a printable string.
LBMSDMExpDLL int lbmsdm_iter_add_string_elem(lbmsdm_iter_t *Iterator, const char *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_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_add_double_elem_idx(lbmsdm_msg_t *Message, size_t Index, double Value)
LBMSDMExpDLL int lbmsdm_iter_get_timestamp_elem(lbmsdm_iter_t *Iterator, size_t Element, struct timeval *Value)
LBMSDMExpDLL int lbmsdm_msg_add_decimal(lbmsdm_msg_t *Message, const char *Name, const lbmsdm_decimal_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_add_timestamp_array(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_msg_get_uint64_name(lbmsdm_msg_t *Message, const char *Name, uint64_t *Value)
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_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_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_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_add_string_array(lbmsdm_msg_t *Message, const char *Name)
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_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_add_uint16_elem_name(lbmsdm_msg_t *Message, const char *Name, uint16_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_float_array_idx(lbmsdm_msg_t *Message, size_t 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_msg_set_uint16_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, uint16_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_uint16_elem_idx(lbmsdm_msg_t *Message, size_t Index, uint16_t Value)
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 int lbmsdm_iter_set_uint16(lbmsdm_iter_t *Iterator, uint16_t Value)
LBMSDMExpDLL int lbmsdm_msg_add_uint8_elem_name(lbmsdm_msg_t *Message, const char *Name, uint8_t Value)
LBMSDMExpDLL int lbmsdm_msg_set_uint32_array_name(lbmsdm_msg_t *Message, const char *Name)
LBMSDMExpDLL int lbmsdm_iter_get_int64(lbmsdm_iter_t *Iterator, int64_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_int8_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, int8_t Value)
LBMSDMExpDLL int lbmsdm_iter_get_message_elem(lbmsdm_iter_t *Iterator, size_t Element, lbmsdm_msg_t **Value)
LBMSDMExpDLL int lbmsdm_msg_set_int16_array_name(lbmsdm_msg_t *Message, const char *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_msg_add_int64_elem_idx(lbmsdm_msg_t *Message, size_t Index, int64_t 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_get_uint16_elem_name(lbmsdm_msg_t *Message, const char *Name, size_t Element, uint16_t *Value)
LBMSDMExpDLL int lbmsdm_iter_set_string(lbmsdm_iter_t *Iterator, const char *Value)
LBMSDMExpDLL int lbmsdm_msg_attr_delete(lbmsdm_msg_attr_t *Attributes)
Delete an SDM message attribute object.
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_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_uint32_elem_idx(lbmsdm_msg_t *Message, size_t Index, size_t Element, uint32_t *Value)
LBMSDMExpDLL int lbmsdm_iter_get_int16(lbmsdm_iter_t *Iterator, int16_t *Value)
LBMSDMExpDLL int lbmsdm_msg_set_double_name(lbmsdm_msg_t *Message, const char *Name, double Value)
LBMSDMExpDLL int lbmsdm_msg_add_uint16(lbmsdm_msg_t *Message, const char *Name, uint16_t Value)