librazor/razor.h.in
changeset 476 48e45439fd9a
parent 475 008c75a5e08d
child 477 6ba4c0f3c9d1
     1.1 --- a/librazor/razor.h.in	Mon Jul 04 10:48:18 2016 +0100
     1.2 +++ b/librazor/razor.h.in	Mon Jul 04 13:04:19 2016 +0100
     1.3 @@ -592,9 +592,6 @@
     1.4  
     1.5  struct razor_set *razor_importer_finish(struct razor_importer *importer);
     1.6  
     1.7 -struct razor_set *razor_set_create_from_yum(void);
     1.8 -struct razor_set *razor_set_create_from_rpmdb(void);
     1.9 -
    1.10  /**
    1.11   * SECTION:root
    1.12   * @title: Root
    1.13 @@ -650,6 +647,22 @@
    1.14  	int (*closedir)(void *dir, struct razor_error **error);
    1.15  };
    1.16  
    1.17 +int razor_uri_mkdir(const char *uri, mode_t mode, struct razor_error **error);
    1.18 +int razor_uri_unlink(const char *uri, struct razor_error **error);
    1.19 +int razor_uri_open(const char *uri, int flags, mode_t mode,
    1.20 +		   struct razor_error **error);
    1.21 +int razor_uri_move(const char *uri, const char *dest,
    1.22 +		   struct razor_error **error);
    1.23 +int razor_uri_is_directory(const char *uri, struct razor_error **error);
    1.24 +char *razor_uri_mkdtemp_near(const char *uri, const char *_template,
    1.25 +			     struct razor_error **error) RAZOR_MALLOC;
    1.26 +void *razor_uri_opendir(const char *uri, struct razor_error **error);
    1.27 +char *razor_uri_readdir(void *dir, struct razor_error **error) RAZOR_MALLOC;
    1.28 +int razor_uri_closedir(void *dir, struct razor_error **error);
    1.29 +void *razor_uri_get_contents(const char *uri, size_t *length, int _private,
    1.30 +			     struct razor_error **error);
    1.31 +int razor_uri_free_contents(void *addr, size_t length);
    1.32 +
    1.33  int razor_uri_set_vtable(const char *scheme, struct razor_uri_vtable *vtable,
    1.34  			 struct razor_error **error);
    1.35  
    1.36 @@ -680,7 +693,7 @@
    1.37  char *razor_path_from_uri(const char *uri, struct razor_error **error)
    1.38        RAZOR_MALLOC;
    1.39  char *razor_path_to_uri(const char *path) RAZOR_MALLOC;
    1.40 -char *razor_path_relative_to_uri(const char *file_uri, const char *path,
    1.41 +char *razor_path_relative_to_uri(const char *uri, const char *path,
    1.42  				 struct razor_error **error) RAZOR_MALLOC;
    1.43  
    1.44  const char *razor_system_arch(void);