summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-core-private.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-03-02 14:30:52 -0500
committerMatthew Barnes <mbarnes@redhat.com>2015-03-02 15:12:06 -0500
commitc04f9f47e3ca3b51c84eb71013ced524a2d659ba (patch)
tree14637b13c4178bb90d501dada29b0c07b377cc82 /src/libostree/ostree-core-private.h
parentfdda36eb774c30ea43a622043259bce862a42de8 (diff)
downloadostree-c04f9f47e3ca3b51c84eb71013ced524a2d659ba.tar.gz
core: Add definitions for GPG signature metadata
_OSTREE_METADATA_GPGSIGS_NAME _OSTREE_METADATA_GPGSIGS_TYPE
Diffstat (limited to 'src/libostree/ostree-core-private.h')
-rw-r--r--src/libostree/ostree-core-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libostree/ostree-core-private.h b/src/libostree/ostree-core-private.h
index 8d6cb93b..f78a820c 100644
--- a/src/libostree/ostree-core-private.h
+++ b/src/libostree/ostree-core-private.h
@@ -125,6 +125,9 @@ _ostree_loose_path_with_suffix (char *buf,
OstreeRepoMode repo_mode,
const char *suffix);
+#define _OSTREE_METADATA_GPGSIGS_NAME "ostree.gpgsigs"
+#define _OSTREE_METADATA_GPGSIGS_TYPE G_VARIANT_TYPE ("aay")
+
GVariant *
_ostree_detached_metadata_append_gpg_sig (GVariant *existing_metadata,
GBytes *signature_bytes);