libxr
—
developer's documentation
Main Page
Related Pages
Data Structures
Files
xr-value.h
_xr_value_node_type
xr_blob
xr_blob_new
xr_blob_ref
xr_blob_unref
xr_value
xr_value_array_append
xr_value_array_new
xr_value_blob_new
xr_value_bool_new
xr_value_double_new
xr_value_dump
xr_value_get_items
xr_value_get_member
xr_value_get_member_name
xr_value_get_member_value
xr_value_get_members
xr_value_get_type
xr_value_int_new
xr_value_is_error_retval
xr_value_ref
xr_value_string_new
xr_value_struct_new
xr_value_struct_set_member
xr_value_time_new
xr_value_to_blob
xr_value_to_bool
xr_value_to_double
xr_value_to_int
xr_value_to_string
xr_value_to_time
xr_value_to_value
xr_value_unref
XRV_ARRAY
XRV_BLOB
XRV_BOOLEAN
XRV_DOUBLE
XRV_INT
XRV_MEMBER
XRV_STRING
XRV_STRUCT
XRV_TIME
G_BEGIN_DECLS
xr_blob
* xr_blob_new
(
char *
buf
,
int
len
)
Create new blob.
Parameters:
buf
Buffer with blob data. Ownership of the buffer is transferred. Buffer will be freed using g_free when
xr_blob_unref
is called.
len
Lenght of the data in the buffer. If negative, length is calculated automatically by strlen().
Returns:
New blob.
Note:
This may be modified in the future to pass along file name where the blob data are stored.
Documentation for
libxr
, Sun Nov 28 2010 15:53:45.