jmichaelh / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

xar_extract_tobuffer(xar_t x, xar_file_t f, char **buffer) does not return buffer size #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is no simple way to get the returned buffer size when calling 
xar_extract_tobuffer();

It may be helpfull to do something like this:

int32_t xar_extract_tobuffer(xar_t x, xar_file_t f, char **buffer, size_t 
*size);

or di i miss something?

Original issue reported on code.google.com by jddu...@gmail.com on 21 Feb 2007 at 8:04

GoogleCodeExporter commented 8 years ago

Original comment by bbraun on 18 Apr 2007 at 1:51

GoogleCodeExporter commented 8 years ago
I believe this is addressed with commit r128 in trunk.

I've added a xar_extract_tobuffer(xar_t, xar_file_t, char **, size_t *) as 
you've
suggested.

Original comment by bbraun on 18 Apr 2007 at 10:20