#ifndef PATHS_H #define PATHS_H #include /** * Utility function for joining two paths. Adds a / between a and b if * required. * * Returns a newly-allocated string. */ char *join_paths(void *alloc_ctx, const char *a, const char *b); /** * Returns the base path for mount points */ const char *mount_base(void); /* Load a (potentially remote) file, and return a guaranteed-local name */ char *load_url(void *ctx, struct pb_url *url, unsigned int *tempfile); #endif /* PATHS_H */