Commit | Line | Data |
0198fd3c |
1 | /* |
2 | * fcgiappmisc.h -- |
3 | * |
4 | * Functions implemented by fcgiapp.h that aren't needed |
5 | * by normal applications, but may be useful to special |
6 | * applications. |
7 | * |
8 | * |
9 | * Copyright (c) 1996 Open Market, Inc. |
10 | * |
11 | * See the file "LICENSE.TERMS" for information on usage and redistribution |
12 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
13 | * |
14 | * $Id: fcgiappmisc.h,v 1.1 1997/09/16 15:36:32 stanleyg Exp $ |
15 | */ |
16 | |
17 | #ifndef _FCGIAPPMISC_H |
18 | #define _FCGIAPPMISC_H |
19 | |
20 | #include "fcgiapp.h" /* for FCGX_Stream */ |
21 | |
22 | #if defined (c_plusplus) || defined (__cplusplus) |
23 | extern "C" { |
24 | #endif |
25 | |
26 | #ifdef _WIN32 |
27 | #ifndef DLLAPI |
28 | #define DLLAPI __declspec(dllimport) |
29 | #endif |
30 | #else |
31 | #define DLLAPI |
32 | #endif |
33 | |
34 | DLLAPI FCGX_Stream *CreateWriter( |
35 | int socket, |
36 | int requestId, |
37 | int bufflen, |
38 | int streamType); |
39 | |
40 | DLLAPI void FreeStream(FCGX_Stream **stream); |
41 | |
42 | #if defined (__cplusplus) || defined (c_plusplus) |
43 | } /* terminate extern "C" { */ |
44 | #endif |
45 | |
46 | #endif /* _FCGIAPPMISC_H */ |