X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fevent_client.h;h=9c13039914c6338c49512a456629913828333470;hb=cc799e45c4a9c09723847fb394f376a3b45bec2d;hp=20c2bfe40d287a593441efd880502dc3befa0d31;hpb=271924aeff4c786b31ec293ab48c861f7fe77bd0;p=citadel.git diff --git a/citadel/event_client.h b/citadel/event_client.h index 20c2bfe40..9c1303991 100644 --- a/citadel/event_client.h +++ b/citadel/event_client.h @@ -3,18 +3,12 @@ * Copyright (c) 1998-2012 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * it under the terms of the GNU General Public License, version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __EVENT_CLIENT_H__ @@ -266,7 +260,7 @@ void QueryCbDone(AsyncIO *IO); void StopClient(AsyncIO *IO); -void StopClientWatchers(AsyncIO *IO); +void StopClientWatchers(AsyncIO *IO, int CloseFD); void SetNextTimeout(AsyncIO *IO, double timeout); @@ -303,6 +297,9 @@ int InitcURLIOStruct(AsyncIO *IO, IO_CallBack DBTerminate, IO_CallBack ShutdownAbort); +void StopCurlWatchers(AsyncIO *IO); + + eNextState ReAttachIO(AsyncIO *IO, void *pData, int ReadFirst);