diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/fastcgi.h | |
parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
download | libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2 libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip |
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to '')
-rw-r--r-- | src/fastcgi.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fastcgi.h b/src/fastcgi.h index 7c1c04c..4463bee 100644 --- a/src/fastcgi.h +++ b/src/fastcgi.h | |||
@@ -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 | ||