summaryrefslogtreecommitdiffabout
path: root/include/sitecing/sitecing_interface_cgi.h
Unidiff
Diffstat (limited to 'include/sitecing/sitecing_interface_cgi.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/sitecing_interface_cgi.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/sitecing/sitecing_interface_cgi.h b/include/sitecing/sitecing_interface_cgi.h
index da538d6..d17cdb7 100644
--- a/include/sitecing/sitecing_interface_cgi.h
+++ b/include/sitecing/sitecing_interface_cgi.h
@@ -1,13 +1,14 @@
1#ifndef __SITECING_SITECING_INTERFACE_CGI_H 1#ifndef __SITECING_SITECING_INTERFACE_CGI_H
2#define __SITECING_SITECING_INTERFACE_CGI_H 2#define __SITECING_SITECING_INTERFACE_CGI_H
3 3
4#include <sstream> 4#include <sstream>
5#include <string> 5#include <string>
6#include <map> 6#include <map>
7#include "kingate/cgi_gateway.h" 7#include <kingate/cgi_gateway.h>
8#include <kingate/headers.h>
8#include "sitecing/sitecing_interface.h" 9#include "sitecing/sitecing_interface.h"
9#include "sitecing/sitespace.h" 10#include "sitecing/sitespace.h"
10 11
11/** 12/**
12 * @file 13 * @file
13 * @brief The sitecing_interface_cgi class declaration. 14 * @brief The sitecing_interface_cgi class declaration.
@@ -23,19 +24,15 @@ namespace sitecing {
23 public: 24 public:
24 /** 25 /**
25 * Pointer to the CGI gateway interface. 26 * Pointer to the CGI gateway interface.
26 */ 27 */
27 kingate::cgi_gateway* cgigw; 28 kingate::cgi_gateway* cgigw;
28 /** 29 /**
29 * Type for the map of headers to spit out.
30 */
31 typedef map<string,string> headers_t;
32 /**
33 * The list of headers to spit out. 30 * The list of headers to spit out.
34 */ 31 */
35 headers_t headers; 32 kingate::headers headers;
36 /** 33 /**
37 * Here is where we prebuffer output. 34 * Here is where we prebuffer output.
38 */ 35 */
39 stringbuf prebuffer; 36 stringbuf prebuffer;
40 /** 37 /**
41 * Output stream, initially going to prebuffer. 38 * Output stream, initially going to prebuffer.