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