Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/lib/fdpass.h @ 0:3b1985cbc908 HEAD
Initial revision
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Aug 2002 12:15:38 +0300 |
parents | |
children | 4a7ab9e94f25 |
rev | line source |
---|---|
0 | 1 #ifndef __FDPASS_H |
2 #define __FDPASS_H | |
3 | |
4 /* Returns number of bytes sent, -1 if error. */ | |
5 int fd_send(int handle, int send_fd, const void *data, int size); | |
6 | |
7 /* Returns number of bytes read, or -1 if error. fd is set only | |
8 if return value is larger than 0. */ | |
9 int fd_read(int handle, void *data, int size, int *fd); | |
10 | |
11 #endif |