masqmail-0.2
diff src/readsock.h @ 0:08114f7dcc23
this is masqmail-0.2.21 from oliver kurth
author | meillo@marmaro.de |
---|---|
date | Fri, 26 Sep 2008 17:05:23 +0200 |
parents | |
children | 26e34ae9a3e3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/readsock.h Fri Sep 26 17:05:23 2008 +0200 1.3 @@ -0,0 +1,24 @@ 1.4 +/* MasqMail 1.5 + Copyright (C) 2000 Oliver Kurth 1.6 + 1.7 + This program is free software; you can redistribute it and/or modify 1.8 + it under the terms of the GNU General Public License as published by 1.9 + the Free Software Foundation; either version 2 of the License, or 1.10 + (at your option) any later version. 1.11 + 1.12 + This program is distributed in the hope that it will be useful, 1.13 + but WITHOUT ANY WARRANTY; without even the implied warranty of 1.14 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.15 + GNU General Public License for more details. 1.16 + 1.17 + You should have received a copy of the GNU General Public License 1.18 + along with this program; if not, write to the Free Software 1.19 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 1.20 +*/ 1.21 + 1.22 +#define READSOCKL_CHUG 0x01 1.23 +#define READSOCKL_CVT_CRLF 0x02 1.24 + 1.25 + 1.26 +int read_sockline(FILE *in, char *buf, int buf_len, int timeout, unsigned int flags); 1.27 +int read_sockline1(FILE *in, char **pbuf, int *size, int timeout, unsigned int flags);