[sword-cvs] sword/include rawstr.h,1.15,1.16

sword@www.crosswire.org sword@www.crosswire.org
Tue, 25 Feb 2003 20:23:46 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv30129/include

Modified Files:
	rawstr.h 
Log Message:
no message

Index: rawstr.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/rawstr.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** rawstr.h	1 Oct 2002 19:52:40 -0000	1.15
--- rawstr.h	26 Feb 2003 03:23:44 -0000	1.16
***************
*** 26,32 ****
  #define RAWSTR_H
  
- #include <filemgr.h>
- 
  #include <defs.h>
  
  SWORD_NAMESPACE_START
--- 26,32 ----
  #define RAWSTR_H
  
  #include <defs.h>
+ #include <filemgr.h>
+ #include <swbuf.h>
  
  SWORD_NAMESPACE_START
***************
*** 40,54 ****
  	FileDesc *idxfd;
  	FileDesc *datfd;
! 	void settext(const char *key, const char *buf, long len = -1);
! 	void linkentry(const char *destkey, const char *srckey);
  public:
! 	static void preptext(char *buf);
  	static char nl;
  	RawStr(const char *ipath, int fileMode = -1);
  	virtual ~RawStr();
! 	void getidxbuf(long ioffset, char **buf);
! 	void getidxbufdat(long ioffset, char **buf);
! 	signed char findoffset(const char *key, long *start, unsigned short *size, long away = 0, long *idxoff = 0);
! 	void readtext(long start, unsigned short *size, char **idxbuf, char **buf);
  	static signed char createModule(const char *path);
  };
--- 40,54 ----
  	FileDesc *idxfd;
  	FileDesc *datfd;
! 	void doSetText(const char *key, const char *buf, long len = -1);
! 	void doLinkEntry(const char *destkey, const char *srckey);
  public:
! 	static void prepText(SWBuf &buf);
  	static char nl;
  	RawStr(const char *ipath, int fileMode = -1);
  	virtual ~RawStr();
! 	void getIDXBuf(long ioffset, char **buf);
! 	void getIDXBufDat(long ioffset, char **buf);
! 	signed char findOffset(const char *key, long *start, unsigned short *size, long away = 0, long *idxoff = 0);
! 	void readText(long start, unsigned short *size, char **idxbuf, SWBuf &buf);
  	static signed char createModule(const char *path);
  };