* buf the buffer to get the input to
* bytes the maximal number of bytes to read
*/
-inline void _serv_read(char *buf, int bytes, struct wcsession *WCC)
+inline void _serv_read(char *buf, int bytes, wcsession *WCC)
{
int len, rlen;
void serv_read(char *buf, int bytes)
{
- struct wcsession *WCC = WC;
+ wcsession *WCC = WC;
_serv_read(buf, bytes, WCC);
}
*/
int serv_getln(char *strbuf, int bufsize)
{
- struct wcsession *WCC = WC;
+ wcsession *WCC = WC;
int ch, len;
char buf[2];