search for: list_ret

Displaying 1 result from an estimated 1 matches for "list_ret".

2003 Jun 25
3
patch draft for extended attributes on linux
...L) + out_of_memory("allocating list of xattr names"); + } else { + /* woot */ + *buf_return = buf; + *buf_len_return = buf_len; + return 0; + } + } +} + + +/** + * Read the one named attribute into a new list entry and store a + * pointer to it in *list_ret. + * + * The new item takes ownership wrt free() of the filename and attrname. + **/ +static int xa_load_one(char *filename, + char *attrname, + struct xa_list **list_ret) +{ + char *val; + size_t val_len; + int ret; + struct x...