From: Michael Tremer Date: Tue, 11 Oct 2022 10:56:09 +0000 (+0000) Subject: digest: Add pakfire_digest_name to header X-Git-Tag: 0.9.28~267 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1916f3565eea9a07cbc8ce27390751e62b35843;p=pakfire.git digest: Add pakfire_digest_name to header Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/include/pakfire/digest.h b/src/libpakfire/include/pakfire/digest.h index 593d3b0cc..e69a8044d 100644 --- a/src/libpakfire/include/pakfire/digest.h +++ b/src/libpakfire/include/pakfire/digest.h @@ -34,6 +34,7 @@ enum pakfire_digest_types { #define PAKFIRE_DIGESTS_ALL (~PAKFIRE_DIGEST_UNDEFINED) +const char* pakfire_digest_name(const enum pakfire_digest_types type); int pakfire_digest_get_by_name(const char* name); #ifdef PAKFIRE_PRIVATE