libxrdeveloper's documentation
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.