From 875fa084ab09d8d6bd8ffcbb622c33db7ccb8ca4 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Apr 23 2020 14:26:58 +0000 Subject: 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... --- diff --git a/lib/rpmvs.h b/lib/rpmvs.h index a836d5c..0258955 100644 --- a/lib/rpmvs.h +++ b/lib/rpmvs.h @@ -48,41 +48,29 @@ typedef int (*rpmsinfoCb)(struct rpmsinfo_s *sinfo, void *cbdata); extern "C" { #endif -RPM_GNUC_INTERNAL const char *rpmsinfoDescr(struct rpmsinfo_s *sinfo); -RPM_GNUC_INTERNAL char *rpmsinfoMsg(struct rpmsinfo_s *sinfo); -RPM_GNUC_INTERNAL struct rpmvs_s *rpmvsCreate(int vfylevel, rpmVSFlags vsflags, rpmKeyring keyring); -RPM_GNUC_INTERNAL void rpmvsInit(struct rpmvs_s *vs, hdrblob blob, rpmDigestBundle bundle); -RPM_GNUC_INTERNAL rpmVSFlags rpmvsFlags(struct rpmvs_s *vs); -RPM_GNUC_INTERNAL struct rpmvs_s *rpmvsFree(struct rpmvs_s *sis); -RPM_GNUC_INTERNAL void rpmvsAppendTag(struct rpmvs_s *sis, hdrblob blob, rpmTagVal tag); -RPM_GNUC_INTERNAL void rpmvsInitRange(struct rpmvs_s *sis, int range); -RPM_GNUC_INTERNAL void rpmvsFiniRange(struct rpmvs_s *sis, int range); -RPM_GNUC_INTERNAL int rpmvsRange(struct rpmvs_s *vs); -RPM_GNUC_INTERNAL int rpmvsVerify(struct rpmvs_s *sis, int type, rpmsinfoCb cb, void *cbdata); -RPM_GNUC_INTERNAL rpmRC rpmpkgRead(struct rpmvs_s *vs, FD_t fd, hdrblob *sigblobp, hdrblob *blobp, char **emsg);