5 * Effective routines for reading line formatted data from network
7 * Copyright © 1994 AmiTCP/IP Group,
8 * Network Solutions Development, Inc.
12 /* #include <sys/cdefs.h> */
15 #define RL_BUFSIZE 1024
19 /* struct Library * rlp_SocketBase; */
25 bool rlp_Line_completed
;
29 char rlp_Buffer
[RL_BUFSIZE
+ 1];
34 enum {RL_LFNOTREQ
= 0, RL_LFREQLF
= 1, RL_LFREQNUL
= 2} rl_Lftype
;
36 struct rl_private rl_Private
;
41 int lineRead __P((struct LineRead * rl));
42 void initLineRead __P((struct LineRead * rl, int fd,
43 int lftype, int buffersize));
47 int lineRead (struct LineRead
* rl
);
48 void initLineRead (struct LineRead
* rl
, int fd
,
49 int lftype
, int buffersize
);
51 #endif /* LINEREAD_H */