From: Michael Tremer Date: Sun, 14 Jan 2018 17:00:56 +0000 (+0100) Subject: libpakfire: Make PakfirePackage objects obscure X-Git-Tag: 0.9.28~1285^2~1208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7847efcded9f88764fa9dcaa02d68201ab9c2524;p=pakfire.git libpakfire: Make PakfirePackage objects obscure Signed-off-by: Michael Tremer --- 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); }