From ef6f6bc688f3381a66e6bcb1fa440d5201537fd1 Mon Sep 17 00:00:00 2001 From: Ruixin Date: Fri, 21 Jul 2017 15:20:50 +0000 Subject: [PATCH] lib: Add #define for endoflife metadata key It is a continuation of https://github.com/ostreedev/ostree/pull/1024 It adds documentation for endoflife metadata key. Closes: #1025 Approved by: cgwalters --- src/libostree/ostree-core.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libostree/ostree-core.h b/src/libostree/ostree-core.h index 1b0f8913..1fef003a 100644 --- a/src/libostree/ostree-core.h +++ b/src/libostree/ostree-core.h @@ -216,6 +216,16 @@ typedef enum { * Since: 2017.7 */ #define OSTREE_COMMIT_META_KEY_ENDOFLIFE_REBASE "ostree.endoflife-rebase" +/** + * OSTREE_COMMIT_META_KEY_ENDOFLIFE: + * + * GVariant type `s`. This metadata key is used to display vendor's message + * when an update stream for a particular branch ends. It usually provides + * update instructions for the users. + * + * Since: 2017.7 + */ +#define OSTREE_COMMIT_META_KEY_ENDOFLIFE "ostree.endoflife" _OSTREE_PUBLIC const GVariantType *ostree_metadata_variant_type (OstreeObjectType objtype);