michal-grzedzicki / rpms / rpm

Forked from rpms/rpm 5 months ago
Clone

Blame SOURCES/0002-Drop-internal-only-visibility-on-rpmvs-related-API.patch

83a7c7
From 3fd79a5564df97d512be283c5c8a4da2e7ef8bce Mon Sep 17 00:00:00 2001
83a7c7
Message-Id: <3fd79a5564df97d512be283c5c8a4da2e7ef8bce.1554983206.git.pmatilai@redhat.com>
83a7c7
In-Reply-To: <2ec0832287bd1443ebf336f8a98293f30bfa2036.1554983205.git.pmatilai@redhat.com>
83a7c7
References: <2ec0832287bd1443ebf336f8a98293f30bfa2036.1554983205.git.pmatilai@redhat.com>
83a7c7
From: Panu Matilainen <pmatilai@redhat.com>
83a7c7
Date: Mon, 18 Mar 2019 15:29:18 +0200
83a7c7
Subject: [PATCH 2/3] Drop internal-only visibility on rpmvs-related API
83a7c7
83a7c7
Makes it possible to use rpmvs API from eg librpmsign which we'll
83a7c7
need in the next commit. We need to make select parts of this
83a7c7
actually public eventually but for now...
83a7c7
---
83a7c7
 lib/rpmvs.h | 12 ------------
83a7c7
 1 file changed, 12 deletions(-)
83a7c7
83a7c7
diff --git a/lib/rpmvs.h b/lib/rpmvs.h
83a7c7
index a836d5c94..025895500 100644
83a7c7
--- a/lib/rpmvs.h
83a7c7
+++ b/lib/rpmvs.h
83a7c7
@@ -48,41 +48,29 @@ typedef int (*rpmsinfoCb)(struct rpmsinfo_s *sinfo, void *cbdata);
83a7c7
 extern "C" {
83a7c7
 #endif
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 const char *rpmsinfoDescr(struct rpmsinfo_s *sinfo);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 char *rpmsinfoMsg(struct rpmsinfo_s *sinfo);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 struct rpmvs_s *rpmvsCreate(int vfylevel, rpmVSFlags vsflags, rpmKeyring keyring);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 void rpmvsInit(struct rpmvs_s *vs, hdrblob blob, rpmDigestBundle bundle);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 rpmVSFlags rpmvsFlags(struct rpmvs_s *vs);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 struct rpmvs_s *rpmvsFree(struct rpmvs_s *sis);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 void rpmvsAppendTag(struct rpmvs_s *sis, hdrblob blob, rpmTagVal tag);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 void rpmvsInitRange(struct rpmvs_s *sis, int range);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 void rpmvsFiniRange(struct rpmvs_s *sis, int range);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 int rpmvsRange(struct rpmvs_s *vs);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 int rpmvsVerify(struct rpmvs_s *sis, int type,
83a7c7
                        rpmsinfoCb cb, void *cbdata);
83a7c7
 
83a7c7
-RPM_GNUC_INTERNAL
83a7c7
 rpmRC rpmpkgRead(struct rpmvs_s *vs, FD_t fd,
83a7c7
 		hdrblob *sigblobp, hdrblob *blobp, char **emsg);
83a7c7
 
83a7c7
-- 
83a7c7
2.20.1
83a7c7