cgi.h
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:1k
- /*
- ** $Id: cgi.h,v 1.12 2000/06/17 18:41:13 mrsam Exp $
- */
- #ifndef cgi_h
- #define cgi_h
- /*
- ** Copyright 1998 - 1999 Double Precision, Inc.
- ** See COPYING for distribution information.
- */
- #if HAVE_CONFIG_H
- #include "config.h"
- #endif
- #if HAVE_LIBFCGI
- #include "fcgi_config.h"
- #include <stdlib.h>
- #include "fcgi_stdio.h"
- #endif
- extern void fake_exit(int);
- void cgi_setup();
- void cgi_cleanup();
- const char *cgi(const char *);
- char *cgi_multiple(const char *, const char *);
- char *cgi_cookie(const char *);
- void cgi_setcookie(const char *, const char *);
- struct cgi_arglist {
- struct cgi_arglist *next;
- struct cgi_arglist *prev; /* Used by cgi_multiple */
- const char *argname;
- const char *argvalue;
- } ;
- extern struct cgi_arglist *cgi_arglist;
- extern void cgiurldecode(char *);
- extern void cgi_put(const char *, const char *);
- extern char *cgiurlencode(const char *);
- extern char *cgiurlencode_noamp(const char *);
- extern char *cgiurlencode_noeq(const char *);
- #if HAVE_UNISTD_H
- #include <unistd.h>
- #endif
- int cgi_getfiles( int (*)(const char *, const char *),
- int (*)(const char *, size_t, void *),
- void (*)(void), size_t);
- extern const char *cgihttpscriptptr();
- extern const char *cgihttpsscriptptr();
- extern void cginocache();
- extern void cgiredirect();
- extern void cgiversion(unsigned *, unsigned *);
- extern int cgihasversion(unsigned, unsigned);
- extern void cgiformdatatempdir(const char *);
- /* Specify directory for formdata temp file */
- #endif