diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 14:52:58 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-08-25 14:52:58 +0300 |
commit | 2a6efbca7ed753b6fac717976a14e24cf969db45 (patch) | |
tree | 3ebf48f5122358a2fe1711bc96423f561fecaec2 /build/parseSpec.c | |
parent | 8d448745f053103ce3fbcf16f014cc376be8ddcf (diff) | |
download | librpm-tizen-2a6efbca7ed753b6fac717976a14e24cf969db45.tar.gz librpm-tizen-2a6efbca7ed753b6fac717976a14e24cf969db45.tar.bz2 librpm-tizen-2a6efbca7ed753b6fac717976a14e24cf969db45.zip |
Bury OpenFileInfo inside parseSpec.c
- Nothing outside spec parsing machinery needs this nor should mess
with it, enforce with opaque pointer.
Diffstat (limited to 'build/parseSpec.c')
-rw-r--r-- | build/parseSpec.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c index eccd6e883..9488eed0c 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -21,6 +21,15 @@ #define LEN_AND_STR(_tag) (sizeof(_tag)-1), (_tag) +typedef struct OpenFileInfo { + char * fileName; + FILE *fp; + int lineNum; + char readBuf[BUFSIZ]; + char * readPtr; + struct OpenFileInfo * next; +} OFI_t; + static const struct PartRec { int part; size_t len; |