UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
statcodes.cpp File Reference

HTTP status codes. More...

#include <statcodes.hpp>
#include <upnp.hpp>
+ Include dependency graph for statcodes.cpp:

Go to the source code of this file.

Functions

const char * http_get_code_text (int statusCode)
 Return the right status message based on the passed in int statusCode input parameter.
 
Scope restricted to file
void anonymous_namespace{statcodes.cpp}::init_table (const char *encoded_str, const char *table[], int tbl_size)
 Initializing table representing an array of string pointers.
 
void anonymous_namespace{statcodes.cpp}::init_tables ()
 Initializing tables with HTTP strings and different HTTP codes.
 

Detailed Description

HTTP status codes.

This file defines status codes, buffers to store the status messages and functions to manipulate those buffers.

Definition in file statcodes.cpp.

Function Documentation

◆ http_get_code_text()

const char * http_get_code_text ( int  statusCode)

Return the right status message based on the passed in int statusCode input parameter.

Returns
Pointer to the status message string.
Parameters
[in]statusCodeStatus code based on which the status table and status message is returned.

Definition at line 166 of file statcodes.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: