blob: 7b5f27b925c2fff69091345ea5d64a8c2bfbe0fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef BUFFIO_H
# define BUFFIO_H
#undef __OBJC2__ /* Turn off OBJC2 on Darwin. */
#include <Object.h>
#include <sys/types.h>
@interface BuffIO: Object
{
char *file;
char *curOff;
off_t fileLen;
char EOL;
}
-init: (const char *)fileName;
-free;
-(char *)getCurOff;
-(off_t)getLength;
-setEOL: (char)delim;
@end
#endif
|