=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/file2.h,v retrieving revision 1.1.1.1 retrieving revision 1.3 diff -u -p -r1.1.1.1 -r1.3 --- OpenXM/src/kan96xx/plugin/file2.h 1999/10/08 02:12:05 1.1.1.1 +++ OpenXM/src/kan96xx/plugin/file2.h 2003/11/17 05:45:47 1.3 @@ -1,3 +1,4 @@ +/* $OpenXM: OpenXM/src/kan96xx/plugin/file2.h,v 1.2 2000/01/16 07:55:47 takayama Exp $ */ /* file2.h */ #define MAGIC2 "Buffered IO by FILE2" @@ -16,6 +17,8 @@ typedef struct FILE2 { int watch; FILE *watchFile; void *mathcapList; /* pointer to struct object */ + FILE *log_incomming; + FILE *log_outgoing; } FILE2 ; FILE2 *fp2open(int fd); @@ -29,6 +32,8 @@ int fp2clearReadBuf(FILE2 *fp); int fp2write(FILE2 *fp,char *data,int size); int fp2watch(FILE2 *fp,FILE *log); int fp2stopWatch(FILE2 *fp); +int fp2log(FILE2 *fp,FILE *incomming,FILE *outgoing); +int fp2stopLog(FILE2 *fp);