~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to sapi/cgi/libfcgi/include/fcgiappmisc.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 2002/03/10 21:39:28 shane 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
#ifdef FCGI_STATIC
 
29
#define DLLAPI
 
30
#else
 
31
#define DLLAPI __declspec(dllimport)
 
32
#endif
 
33
#endif
 
34
#else
 
35
#define DLLAPI
 
36
#endif
 
37
 
 
38
DLLAPI FCGX_Stream *CreateWriter(
 
39
        int socket,
 
40
        int requestId,
 
41
        int bufflen,
 
42
        int streamType);
 
43
 
 
44
DLLAPI void FreeStream(FCGX_Stream **stream);
 
45
 
 
46
#if defined (__cplusplus) || defined (c_plusplus)
 
47
} /* terminate extern "C" { */
 
48
#endif
 
49
 
 
50
#endif  /* _FCGIAPPMISC_H */