Ignore:
Timestamp:
2005-02-02T12:11:08+13:00 (19 years ago)
Author:
kjdon
Message:

added a couple of functions that read in text from a buffer rather than from a file - used by the jni version of mgpp_passes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/text/TextEl.h

    r3365 r8946  
    3232protected:
    3333  bool ReadTextTag (FileBuf &buf, TextEl &el);
     34  bool ReadTextTag (u_char ** buffer, TextEl &el);
    3435public:
    3536  TextElType elType;
     
    5152bool ReadTextEl (FileBuf &buf, TextEl &el,
    5253         bool compatMode, bool &compatInPara);
     54bool ReadTextEl (u_char **buffer, TextEl &el,
     55         bool compatMode, bool &compatInPara);
    5356
    5457// looks for an opening docTag and reads all text elements up
     
    6063          bool compatMode=false);
    6164
     65bool ReadDoc(u_char **buffer, const UCArray &docTag,
     66         TextElArray &doc, unsigned long &docLen,
     67         bool compatMode=false);
     68
    6269#endif
Note: See TracChangeset for help on using the changeset viewer.