diff options
Diffstat (limited to '')
-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 | ||