Diffstat (limited to 'include/kingate/cgi_gateway.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | include/kingate/cgi_gateway.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/kingate/cgi_gateway.h b/include/kingate/cgi_gateway.h index a26b0ae..087f7d0 100644 --- a/include/kingate/cgi_gateway.h +++ b/include/kingate/cgi_gateway.h | |||
@@ -262,64 +262,63 @@ namespace kingate { | |||
262 | /** | 262 | /** |
263 | * Retrieve the REMOTE_HOST meta-variable (see RFC3875) | 263 | * Retrieve the REMOTE_HOST meta-variable (see RFC3875) |
264 | * @return the fully qualified domain name of the client if | 264 | * @return the fully qualified domain name of the client if |
265 | * available. REMOTE_ADDR otherwise. | 265 | * available. REMOTE_ADDR otherwise. |
266 | * @see remote_addr() | 266 | * @see remote_addr() |
267 | */ | 267 | */ |
268 | const string& remote_host() const; | 268 | const string& remote_host() const; |
269 | /** | 269 | /** |
270 | * Retrieve the REMOTE_IDENT meta-variable (see RFC3875) | 270 | * Retrieve the REMOTE_IDENT meta-variable (see RFC3875) |
271 | * @return remote user identity (see RFC1413). | 271 | * @return remote user identity (see RFC1413). |
272 | */ | 272 | */ |
273 | const string& remote_ident() const; | 273 | const string& remote_ident() const; |
274 | /** | 274 | /** |
275 | * Retrieve the REMOTE_USER meta-variable (see RFC3875) | 275 | * Retrieve the REMOTE_USER meta-variable (see RFC3875) |
276 | * @return the authenticated user name. | 276 | * @return the authenticated user name. |
277 | */ | 277 | */ |
278 | const string& remote_user() const; | 278 | const string& remote_user() const; |
279 | /** | 279 | /** |
280 | * Retrieve the REQUEST_METHOD meta-variable (see RFC3875) | 280 | * Retrieve the REQUEST_METHOD meta-variable (see RFC3875) |
281 | * @return the http request method. | 281 | * @return the http request method. |
282 | */ | 282 | */ |
283 | const string& request_method() const; | 283 | const string& request_method() const; |
284 | /** | 284 | /** |
285 | * Retrieve the SCRIPT_NAME meta-variable (see RFC3875) | 285 | * Retrieve the SCRIPT_NAME meta-variable (see RFC3875) |
286 | * @return the uri path identifying the script. | 286 | * @return the uri path identifying the script. |
287 | */ | 287 | */ |
288 | const string& script_name() const; | 288 | const string& script_name() const; |
289 | /** | 289 | /** |
290 | * Retrieve the SERVER_NAME meta-variable (see RFC3875) | 290 | * Retrieve the SERVER_NAME meta-variable (see RFC3875) |
291 | * @return the server name of the script. | 291 | * @return the server name of the script. |
292 | */ | 292 | */ |
293 | const string& server_name() const; | 293 | const string& server_name() const; |
294 | /** | 294 | /** |
295 | * Retrieve the SERVER_PORT meta-variable (see RFC3875) | 295 | * Retrieve the SERVER_PORT meta-variable (see RFC3875) |
296 | * @return the port on which request was received. | 296 | * @return the port on which request was received. |
297 | */ | 297 | */ |
298 | unsigned int server_port() const; | 298 | unsigned int server_port() const; |
299 | /** | 299 | /** |
300 | * Retrieve the SERVER_PROTOCOL meta-variable (see RFC3875) | 300 | * Retrieve the SERVER_PROTOCOL meta-variable (see RFC3875) |
301 | * @return the protocol used for the request. | 301 | * @return the protocol used for the request. |
302 | */ | 302 | */ |
303 | const string& server_protocol() const; | 303 | const string& server_protocol() const; |
304 | /** | 304 | /** |
305 | * Retrieve the SERVER_SOFTWARE meta-variable (see RFC3875) | 305 | * Retrieve the SERVER_SOFTWARE meta-variable (see RFC3875) |
306 | * @return the name and version of server software. | 306 | * @return the name and version of server software. |
307 | */ | 307 | */ |
308 | const string& server_software() const; | 308 | const string& server_software() const; |
309 | 309 | ||
310 | private: | ||
311 | /** | 310 | /** |
312 | * Parse the query string, putting the parameters into the map | 311 | * Parse the query string, putting the parameters into the map |
313 | * specified. | 312 | * specified. |
314 | * @param q the query string. | 313 | * @param q the query string. |
315 | * @param p destination parameters map. | 314 | * @param p destination parameters map. |
316 | */ | 315 | */ |
317 | static void parse_query(string& q,params_t& p); | 316 | static void parse_query(string& q,params_t& p); |
318 | }; | 317 | }; |
319 | 318 | ||
320 | } | 319 | } |
321 | 320 | ||
322 | #endif /* __KINGATE_CGI_GATEWAY_H */ | 321 | #endif /* __KINGATE_CGI_GATEWAY_H */ |
323 | /* | 322 | /* |
324 | * vim:set ft=cpp: | 323 | * vim:set ft=cpp: |
325 | */ | 324 | */ |