[opendemo-cvs] CVS: opendemo/tools/odcut/odfile_expat odfile_expat_intern.h,1.3,1.4
Status: Beta
Brought to you by:
girlich
From: Uwe G. <gi...@us...> - 2004-03-30 08:16:43
|
Update of /cvsroot/opendemo/opendemo/tools/odcut/odfile_expat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2934 Modified Files: odfile_expat_intern.h Log Message: more prototypes (snapshotc, time, and sequence) object enlarged expat.h must be included here, as we store the XML parser in the object Index: odfile_expat_intern.h =================================================================== RCS file: /cvsroot/opendemo/opendemo/tools/odcut/odfile_expat/odfile_expat_intern.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** odfile_expat_intern.h 29 Mar 2004 19:37:36 -0000 1.3 --- odfile_expat_intern.h 30 Mar 2004 08:04:49 -0000 1.4 *************** *** 10,19 **** --- 10,28 ---- + #include <expat.h> + + /* data type */ typedef struct odfile_expat_s { + XML_Parser parser; char *infile; char *xmldecl; char *doctype; char *mapname; + int snap; + int snapshotc; + int firstTime; + int firstSequence; + int last_snap_offset; } odfile_expat; *************** *** 21,28 **** /* prototypes */ extern odfile_expat* ofe_init(char *filename); ! extern char* ofe_get_name(odfile_expat *self); extern void ofe_done(odfile_expat *self); extern const char* ofe_mapname(odfile_expat *self); extern void ofe_set_mapname(odfile_expat *self, const char *mapname); --- 30,42 ---- /* prototypes */ extern odfile_expat* ofe_init(char *filename); ! extern char* ofe_name(odfile_expat *self); extern void ofe_done(odfile_expat *self); extern const char* ofe_mapname(odfile_expat *self); extern void ofe_set_mapname(odfile_expat *self, const char *mapname); + extern int ofe_snapshotc(odfile_expat *self); + extern int ofe_firstTime(odfile_expat *self); + extern void ofe_set_firstTime(odfile_expat *self, int firstTime); + extern int ofe_firstSequence(odfile_expat *self); + extern void ofe_set_firstSequence(odfile_expat *self, int firstSequence); |