X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=utils.h;h=1c208266cccc4d4e0ed8b71ab4bda51cbe35efd6;hb=af0aaaa2a3edc0634ebb0a32750df759ab3eb515;hp=2a592e9956010a6adb561d612c69e8b7bdf0bbb5;hpb=5c2c6d3286e691f8a5b61bc2d83b9cc07bb18e9d;p=rrq%2Ffuse_xattrs.git diff --git a/utils.h b/utils.h index 2a592e9..1c20826 100644 --- a/utils.h +++ b/utils.h @@ -38,6 +38,9 @@ enum namespace { enum namespace get_namespace(const char *name); char *get_sidecar_path(const char *path); char *sanitize_value(const char *value, size_t value_size); -char *prepend_source_directory(const char *a, const char *b); +char *prepend_source_directory(const char *b); + +const size_t BINARY_SIDECAR_EXT_SIZE; +const int filename_is_sidecar(const char *string); #endif //FUSE_XATTRS_UTILS_H