From 7847efcded9f88764fa9dcaa02d68201ab9c2524 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 14 Jan 2018 18:00:56 +0100 Subject: [PATCH] libpakfire: Make PakfirePackage objects obscure Signed-off-by: Michael Tremer --- src/libpakfire/include/pakfire/package.h | 11 ----------- src/libpakfire/package.c | 7 +++++++ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/libpakfire/include/pakfire/package.h b/src/libpakfire/include/pakfire/package.h index fd722f16f..e49998ed8 100644 --- a/src/libpakfire/include/pakfire/package.h +++ b/src/libpakfire/include/pakfire/package.h @@ -147,15 +147,4 @@ enum pakfire_package_dump_flags { PAKFIRE_PKG_DUMP_LONG = 1 << 1, }; -#ifdef PAKFIRE_PRIVATE - -struct _PakfirePackage { - PakfirePool pool; - Id id; - int nrefs; - PakfireFile filelist; -}; - -#endif - #endif /* PAKFIRE_PACKAGE_H */ diff --git a/src/libpakfire/package.c b/src/libpakfire/package.c index 9681b860f..4fbda0bfd 100644 --- a/src/libpakfire/package.c +++ b/src/libpakfire/package.c @@ -43,6 +43,13 @@ #include #include +struct _PakfirePackage { + PakfirePool pool; + Id id; + PakfireFile filelist; + int nrefs; +}; + static Pool* pakfire_package_get_solv_pool(PakfirePackage pkg) { return pakfire_pool_get_solv_pool(pkg->pool); } -- 2.39.5