summaryrefslogtreecommitdiff
path: root/src/shared/import-util.h
diff options
context:
space:
mode:
authorPavel Odvody <podvody@redhat.com>2015-05-19 16:29:29 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-19 18:21:46 +0200
commit74eff91e5f118224c1e556d2716d5360dd97a87d (patch)
tree3670882a05762c865c82f1561b4a70cc3cc3e5bb /src/shared/import-util.h
parentc6497ccb7153af9a1252c48918e380b5134314de (diff)
shared/import-util: Tag renamed to reference
Added (sha256) digest validation function
Diffstat (limited to 'src/shared/import-util.h')
-rw-r--r--src/shared/import-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/import-util.h b/src/shared/import-util.h
index ff155b0ff2..7bf7d4ca40 100644
--- a/src/shared/import-util.h
+++ b/src/shared/import-util.h
@@ -44,4 +44,6 @@ int raw_strip_suffixes(const char *name, char **ret);
bool dkr_name_is_valid(const char *name);
bool dkr_id_is_valid(const char *id);
+bool dkr_ref_is_valid(const char *ref);
+bool dkr_digest_is_valid(const char *digest);
#define dkr_tag_is_valid(tag) filename_is_valid(tag)