X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=utils.h;h=3159eaaff9c09165da66c2ef24b89797811569e5;hb=a4c63b426d9ee0207b6c8a5c28096cf0446f4737;hp=6f8d0d9ebee7a53f8ceda279c3f63347bef6086b;hpb=3f472567bdd9bc3fbfd99b342ee29b25d5b553be;p=rrq%2Ffuse_xattrs.git diff --git a/utils.h b/utils.h index 6f8d0d9..3159eaa 100644 --- a/utils.h +++ b/utils.h @@ -38,5 +38,12 @@ 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 *b); + +const size_t BINARY_SIDECAR_EXT_SIZE; +const int filename_is_sidecar(const char *string); + +int is_directory(const char *path); +int is_regular_file(const char *path); #endif //FUSE_XATTRS_UTILS_H