comparison src/readsock.h @ 366:41958685480d

Switched to `type *name' style Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced me that it is best to go with the way C had been designed. The ``declaration reflects use'' concept conflicts with a ``type* name'' notation. Hence I switched.
author markus schnalke <meillo@marmaro.de>
date Thu, 22 Sep 2011 15:07:40 +0200
parents 26e34ae9a3e3
children b27f66555ba8
comparison
equal deleted inserted replaced
365:934a223e4ee8 366:41958685480d
18 18
19 #define READSOCKL_CHUG 0x01 19 #define READSOCKL_CHUG 0x01
20 #define READSOCKL_CVT_CRLF 0x02 20 #define READSOCKL_CVT_CRLF 0x02
21 21
22 22
23 int read_sockline(FILE * in, char *buf, int buf_len, int timeout, unsigned int flags); 23 int read_sockline(FILE *in, char *buf, int buf_len, int timeout, unsigned int flags);
24 int read_sockline1(FILE * in, char **pbuf, int *size, int timeout, unsigned int flags); 24 int read_sockline1(FILE *in, char **pbuf, int *size, int timeout, unsigned int flags);