#include <LassoCAPI.h>
Data Fields | |
const char * | name |
The name portion. | |
unsigned int | nameSize |
The size of the name member, in bytes. | |
const char * | data |
The value portion. | |
unsigned int | dataSize |
The size of the data member, in bytes. | |
LP_TypeDesc | type |
The type code for the data member. |
The lasso_value_t struct is used for shuffling data into and out of LassoCAPI functions.
Any LCAPI function that constructs one of these will insure that Lasso properly disposes of the data once the user's LassoCAPI function call is complete.
lasso_value_t is suitable for transferring binary data as long as the nameSize or dataSize members are properly set with the size of the data in bytes.
Depending on the purpose of the function which is constructing the lasso_value_t, any combination of the name or data members may be filled in or may be NULL. Consult the documentation of the specific function for more details.
Should be initialized using the INITVAL(X) macro before use.
|
The value portion. May be NULL. |
|
The size of the data member, in bytes.
|
|
The name portion. May be NULL. |
|
The size of the name member, in bytes.
|
|
The type code for the data member.
|