On 8/6/07, Hamish Allan <[EMAIL PROTECTED]> wrote: > True -- in which case what about a more general cascading resource > fork handling mechanism? You could have a fusefm_getrsrc(const char > *path, const char *type, char *value, size_t size) which would be > called if fusefm_getxattr was not implemented or returned ENOENT for > "com.apple.ResourceFork", and a fusefm_geticns(const char *path, char > *value, size_t size) which would be called if fusefm_getrsrc was not > implemented or returned ENOENT for "icns".
Addendum: I guess there would also have to be a fusefm_listrsrc(const char *path, char *list, size_t size) too. Alternatively, I could implement an interface based on the existing fusefm_listxattr() / fusefm_getxattr() but using a UTI subspace, e.g., if you returned "com.apple.ResourceFork.icns" to fm_listxattr(), it would ask for that resource individually and handle packaging it alongside any other resources into the correct format. Best wishes, Hamish --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse-devel?hl=en -~----------~----~----~----~------~----~------~--~---
