version 1.2, 2000/01/16 07:55:47 |
version 1.3, 2003/11/17 05:45:47 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/file2.h,v 1.2 2000/01/16 07:55:47 takayama Exp $ */ |
/* file2.h */ |
/* file2.h */ |
|
|
#define MAGIC2 "Buffered IO by FILE2" |
#define MAGIC2 "Buffered IO by FILE2" |
Line 17 typedef struct FILE2 { |
|
Line 17 typedef struct FILE2 { |
|
int watch; |
int watch; |
FILE *watchFile; |
FILE *watchFile; |
void *mathcapList; /* pointer to struct object */ |
void *mathcapList; /* pointer to struct object */ |
|
FILE *log_incomming; |
|
FILE *log_outgoing; |
} FILE2 ; |
} FILE2 ; |
|
|
FILE2 *fp2open(int fd); |
FILE2 *fp2open(int fd); |
Line 30 int fp2clearReadBuf(FILE2 *fp); |
|
Line 32 int fp2clearReadBuf(FILE2 *fp); |
|
int fp2write(FILE2 *fp,char *data,int size); |
int fp2write(FILE2 *fp,char *data,int size); |
int fp2watch(FILE2 *fp,FILE *log); |
int fp2watch(FILE2 *fp,FILE *log); |
int fp2stopWatch(FILE2 *fp); |
int fp2stopWatch(FILE2 *fp); |
|
int fp2log(FILE2 *fp,FILE *incomming,FILE *outgoing); |
|
int fp2stopLog(FILE2 *fp); |
|
|
|
|
|
|