]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/storage/storage.h
rename functions which clash with libsystemd's
[mirror_lxc.git] / src / lxc / storage / storage.h
index 62ac75e2695495cee8680f63ec09c69491bc0699..a3873fa80e2b06a6b3557177997c6b427444676f 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef __LXC_STORAGE_H
 #define __LXC_STORAGE_H
 
+#include "config.h"
+
 #include <stdint.h>
 #include <sys/mount.h>
 
@@ -92,7 +94,7 @@ struct lxc_storage {
 };
 
 /**
- * storage_is_dir : Check whether the roots is a directory. This function will
+ * storage_lxc_is_dir : Check whether the roots is a directory. This function will
  *                  trust the config file. If the config file key
  *                  lxc.rootfs.path is set to <storage type>:<container path>
  *                  the confile parser will have split this into <storage type>
@@ -103,7 +105,7 @@ struct lxc_storage {
  *                  type specifications.  If the <storage type> prefix is not
  *                  detected liblxc will try to detect the storage type.
  */
-__hidden extern bool storage_is_dir(struct lxc_conf *conf);
+__hidden extern bool storage_lxc_is_dir(struct lxc_conf *conf);
 __hidden extern bool storage_can_backup(struct lxc_conf *conf);
 __hidden extern struct lxc_storage *storage_init(struct lxc_conf *conf);
 __hidden extern struct lxc_storage *storage_copy(struct lxc_container *c, const char *cname,