Blob Blame History Raw
From 3fd79a5564df97d512be283c5c8a4da2e7ef8bce Mon Sep 17 00:00:00 2001
Message-Id: <>
In-Reply-To: <>
References: <>
From: Panu Matilainen <>
Date: Mon, 18 Mar 2019 15:29:18 +0200
Subject: [PATCH 2/3] Drop internal-only visibility on rpmvs-related API

Makes it possible to use rpmvs API from eg librpmsign which we'll
need in the next commit. We need to make select parts of this
actually public eventually but for now...
 lib/rpmvs.h | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/lib/rpmvs.h b/lib/rpmvs.h
index a836d5c94..025895500 100644
--- a/lib/rpmvs.h
+++ b/lib/rpmvs.h
@@ -48,41 +48,29 @@ typedef int (*rpmsinfoCb)(struct rpmsinfo_s *sinfo, void *cbdata);
 extern "C" {
 const char *rpmsinfoDescr(struct rpmsinfo_s *sinfo);
 char *rpmsinfoMsg(struct rpmsinfo_s *sinfo);
 struct rpmvs_s *rpmvsCreate(int vfylevel, rpmVSFlags vsflags, rpmKeyring keyring);
 void rpmvsInit(struct rpmvs_s *vs, hdrblob blob, rpmDigestBundle bundle);
 rpmVSFlags rpmvsFlags(struct rpmvs_s *vs);
 struct rpmvs_s *rpmvsFree(struct rpmvs_s *sis);
 void rpmvsAppendTag(struct rpmvs_s *sis, hdrblob blob, rpmTagVal tag);
 void rpmvsInitRange(struct rpmvs_s *sis, int range);
 void rpmvsFiniRange(struct rpmvs_s *sis, int range);
 int rpmvsRange(struct rpmvs_s *vs);
 int rpmvsVerify(struct rpmvs_s *sis, int type,
                        rpmsinfoCb cb, void *cbdata);
 rpmRC rpmpkgRead(struct rpmvs_s *vs, FD_t fd,
 		hdrblob *sigblobp, hdrblob *blobp, char **emsg);