From: Michael Schroeder Date: Fri, 17 Feb 2012 16:47:17 +0000 (+0100) Subject: - make more of repodata struct private X-Git-Tag: BASE-SuSE-Code-12_2-Branch~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=333c63c271d80962e64e82e61bfc4d6cf34643f3;p=platform%2Fupstream%2Flibsolv.git - make more of repodata struct private --- diff --git a/src/repodata.h b/src/repodata.h index 938bd83..bf0d2dc 100644 --- a/src/repodata.h +++ b/src/repodata.h @@ -57,9 +57,6 @@ typedef struct _Repodata { int start; /* start of solvables this repodata is valid for */ int end; /* last solvable + 1 of this repodata */ - FILE *fp; /* file pointer of solv file */ - int error; /* corrupt solv file */ - Repokey *keys; /* keys, first entry is always zero */ int nkeys; /* length of keys array */ unsigned char keybits[32]; /* keyname hash */ @@ -67,8 +64,6 @@ typedef struct _Repodata { Id *schemata; /* schema -> offset into schemadata */ int nschemata; /* number of schemata */ Id *schemadata; /* schema storage */ - unsigned int schemadatalen; /* schema storage size */ - Id *schematahash; /* unification helper */ Stringpool spool; /* local string pool */ int localpool; /* is local string pool used */ @@ -76,6 +71,11 @@ typedef struct _Repodata { Dirpool dirpool; /* local dir pool */ #ifdef LIBSOLV_INTERNAL + FILE *fp; /* file pointer of solv file */ + int error; /* corrupt solv file */ + + unsigned int schemadatalen; /* schema storage size */ + Id *schematahash; /* unification helper */ unsigned char *incoredata; /* in-core data */ unsigned int incoredatalen; /* in-core data used */ @@ -107,7 +107,6 @@ typedef struct _Repodata { Id lasthandle; Id lastkey; Id lastdatalen; - #endif } Repodata;