]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Container's specific file/directory names 3055/head
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Fri, 21 Jun 2019 12:20:04 +0000 (14:20 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Jun 2019 12:20:04 +0000 (14:20 +0200)
To be used when making file/directory names for containers (e.g. in lxccontainer.c)

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
src/lxc/macro.h

index 288f5a8e6fe4483373fe50d669b19a2e16601961..9676c580d665a68beaf83159b0bab3f2a3ed819e 100644 (file)
@@ -450,4 +450,11 @@ enum {
                -1;                    \
        })
 
+/* Container's specific file/directory names */
+#define LXC_CONFIG_FNAME      "config"
+#define LXC_PARTIAL_FNAME     "partial"
+#define LXC_ROOTFS_DNAME      "rootfs"
+#define LXC_TIMESTAMP_FNAME   "ts"
+#define LXC_COMMENT_FNAME     "comment"
+
 #endif /* __LXC_MACRO_H */