]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Container's specific file/directory names
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Fri, 21 Jun 2019 12:20:04 +0000 (14:20 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Dec 2019 12:58:16 +0000 (13:58 +0100)
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 3350cd555681401ab89a9b33130549a422ae4f61..44bce1380792b44b9d216d173bc4795dc40a08b6 100644 (file)
@@ -418,4 +418,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 */