summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sepolicy.h
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2016-03-23 15:54:49 -0400
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-03-25 15:28:29 +0000
commitb7a04d51f8bc95c6168de155bf625e1ff0ea85ee (patch)
tree96690828c41ee0acbf1765ce5565fd8a76241239 /src/libostree/ostree-sepolicy.h
parent456f515522b31bb59f03e2b30a2d86b0faa7d106 (diff)
downloadostree-b7a04d51f8bc95c6168de155bf625e1ff0ea85ee.tar.gz
OstreeSePolicy: add ostree_sepolicy_get_csum()
This can be used as a fingerprint to determine whether two OstreeSePolicy objects are equivalent. Also add documentation for ostree_sepolicy_get_name(). Closes: #219 Approved by: cgwalters
Diffstat (limited to 'src/libostree/ostree-sepolicy.h')
-rw-r--r--src/libostree/ostree-sepolicy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libostree/ostree-sepolicy.h b/src/libostree/ostree-sepolicy.h
index 83e3b379..d204953e 100644
--- a/src/libostree/ostree-sepolicy.h
+++ b/src/libostree/ostree-sepolicy.h
@@ -45,6 +45,9 @@ _OSTREE_PUBLIC
const char *ostree_sepolicy_get_name (OstreeSePolicy *self);
_OSTREE_PUBLIC
+const char *ostree_sepolicy_get_csum (OstreeSePolicy *self);
+
+_OSTREE_PUBLIC
gboolean ostree_sepolicy_get_label (OstreeSePolicy *self,
const char *relpath,
guint32 unix_mode,