I'm trying to implement filesystem extended attributes - getxattr & listxattr - on top of neon

To do so efficiently, I need to cache ne_prop_result_set data from ne_simple_propfind - for use first by listxattr (ne_propset_iterate) & second by getxattr (ne_propset_value)

I tried creating an ne_props_result callback which populates a cache, but I guess ne_simple_propfind frees the ne_prop_result_set data when it returns, so subsequent cache access results in segfaults : P

Copying the ne_prop_result_set data didn't work because ne_prop_result_set is an incomplete type

How can I use ne_prop_result_set data outside the callback?

Many thanks!

Jack

_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to