libxrdeveloper's documentation
G_BEGIN_DECLS xr_blob* xr_blob_new ( char *  buf,
int  len 
)

Create new blob.

Parameters:
bufBuffer with blob data. Ownership of the buffer is transferred. Buffer will be freed using g_free when xr_blob_unref is called.
lenLenght 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, Tue Jun 7 2011 18:02:08.