diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:09:04 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:09:04 +0000 |
commit | 393f1b414746a7f1977971dd7659dd2b47092b11 (patch) | |
tree | 81d0ca1ee70ab86a7d79c1991abe5c387b655fb2 /src/fastcgi.h | |
parent | c259f95bd0e58b247940a339bb9b4b401b4e9438 (diff) | |
parent | 7e25a863325dc3e9762397e700030969e093b087 (diff) | |
download | libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.gz libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.bz2 libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.xz libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.zip |
Wow! Merged the branch, streams are updated, and there's no more FString, run
the fixstrings.sh script in the support directory to (hopefully) automatically
update your projects.
Diffstat (limited to 'src/fastcgi.h')
-rw-r--r-- | src/fastcgi.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fastcgi.h b/src/fastcgi.h index 7c1c04c..1a3d02e 100644 --- a/src/fastcgi.h +++ b/src/fastcgi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | 2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. |
3 | * | 3 | * |
4 | * This file is part of the libbu++ library and is released under the | 4 | * This file is part of the libbu++ library and is released under the |
5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
@@ -8,7 +8,7 @@ | |||
8 | #ifndef BU_FAST_CGI_H | 8 | #ifndef BU_FAST_CGI_H |
9 | #define BU_FAST_CGI_H | 9 | #define BU_FAST_CGI_H |
10 | 10 | ||
11 | #include "bu/fstring.h" | 11 | #include "bu/string.h" |
12 | #include "bu/hash.h" | 12 | #include "bu/hash.h" |
13 | #include "bu/array.h" | 13 | #include "bu/array.h" |
14 | #include "bu/tcpsocket.h" | 14 | #include "bu/tcpsocket.h" |
@@ -27,7 +27,7 @@ namespace Bu | |||
27 | 27 | ||
28 | static bool isEmbedded(); | 28 | static bool isEmbedded(); |
29 | 29 | ||
30 | typedef Bu::Hash<Bu::FString, Bu::FString> StrHash; | 30 | typedef Bu::Hash<Bu::String, Bu::String> StrHash; |
31 | enum RequestType | 31 | enum RequestType |
32 | { | 32 | { |
33 | typeBeginRequest = 1, | 33 | typeBeginRequest = 1, |
@@ -86,8 +86,8 @@ namespace Bu | |||
86 | typedef struct Channel { | 86 | typedef struct Channel { |
87 | Channel() : uFlags( 0 ) { } | 87 | Channel() : uFlags( 0 ) { } |
88 | StrHash hParams; | 88 | StrHash hParams; |
89 | Bu::FString sStdIn; | 89 | Bu::String sStdIn; |
90 | Bu::FString sData; | 90 | Bu::String sData; |
91 | uint8_t uFlags; | 91 | uint8_t uFlags; |
92 | } Channel; | 92 | } Channel; |
93 | 93 | ||
@@ -104,7 +104,7 @@ namespace Bu | |||
104 | 104 | ||
105 | virtual void onInit() { }; | 105 | virtual void onInit() { }; |
106 | virtual int onRequest( const StrHash &hParams, | 106 | virtual int onRequest( const StrHash &hParams, |
107 | const Bu::FString &sStdIn, Bu::Stream &sStdOut, | 107 | const Bu::String &sStdIn, Bu::Stream &sStdOut, |
108 | Bu::Stream &sStdErr )=0; | 108 | Bu::Stream &sStdErr )=0; |
109 | virtual void onUninit() { }; | 109 | virtual void onUninit() { }; |
110 | 110 | ||