X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Ffcgiapp.h;h=6c1bfd0fe0f481de8d8712abad14872bb92df595;hb=2e7fb6c1b1f73017ccf7ccd5563a6425ece37ed9;hp=30b19163ae2e3e6a34c135bab63a89727e9de8a8;hpb=e6368b6156661ae9d3737a865e506d7b35b2ada5;p=catagits%2Ffcgi2.git diff --git a/include/fcgiapp.h b/include/fcgiapp.h index 30b1916..6c1bfd0 100644 --- a/include/fcgiapp.h +++ b/include/fcgiapp.h @@ -9,7 +9,7 @@ * See the file "LICENSE.TERMS" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * $Id: fcgiapp.h,v 1.7 2001/06/22 13:21:15 robs Exp $ + * $Id: fcgiapp.h,v 1.9 2001/09/06 20:06:03 robs Exp $ */ #ifndef _FCGIAPP_H @@ -579,6 +579,50 @@ DLLAPI int FCGX_GetError(FCGX_Stream *stream); */ DLLAPI void FCGX_ClearError(FCGX_Stream *stream); +/* + *---------------------------------------------------------------------- + * + * FCGX_CreateWriter -- + * + * Create a FCGX_Stream (used by cgi-fcgi). This shouldn't + * be needed by a FastCGI applictaion. + * + *---------------------------------------------------------------------- + */ +DLLAPI FCGX_Stream *FCGX_CreateWriter( + int socket, + int requestId, + int bufflen, + int streamType); + +/* + *---------------------------------------------------------------------- + * + * FCGX_FreeStream -- + * + * Free a FCGX_Stream (used by cgi-fcgi). This shouldn't + * be needed by a FastCGI applictaion. + * + *---------------------------------------------------------------------- + */ +DLLAPI void FCGX_FreeStream(FCGX_Stream **stream); + +/* ---------------------------------------------------------------------- + * + * Prevent the lib from accepting any new requests. Signal handler safe. + * + * ---------------------------------------------------------------------- + */ +DLLAPI void FCGX_ShutdownPending(void); + +/* ---------------------------------------------------------------------- + * + * Prevent the lib from interacting with clients in any way + * (including accepting new requests). Signal handler safe. + * + * ---------------------------------------------------------------------- + */ +DLLAPI void FCGX_Shutdown(void); #if defined (__cplusplus) || defined (c_plusplus) } /* terminate extern "C" { */