X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=socket.h;h=9d9406d958c4eae21dfe3d901807dce816bcf4bf;hb=a23a8cf8ee1da51c4392b9f52e6b72b0c01e3b5e;hp=bda70d29aba4894f4ee3cad1660d3ee64015e742;hpb=7db382b5b9a4fe8cdaf7b7c18a86bdb35fdf2853;p=~andy%2Ffetchmail diff --git a/socket.h b/socket.h index bda70d29..9d9406d9 100644 --- a/socket.h +++ b/socket.h @@ -16,13 +16,6 @@ struct addrinfo; /** Create a new client socket; returns -1 on error */ int SockOpen(const char *host, const char *service, const char *plugin, struct addrinfo **); -/** Returns 1 if socket \a fd is OK, 0 if it isn't select()able - * on - probably because it's been closed. You should - * always check this function before passing stuff to the - * select()-based waiter, as otherwise it may loop. - */ -int SockCheckOpen(int fd); - /** Get a string terminated by an '\n' (matches interface of fgets). Pass it a valid socket, a buffer for the string, and