diff options
Diffstat (limited to 'src/Parameters.c')
-rw-r--r-- | src/Parameters.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/Parameters.c b/src/Parameters.c index c195fc7..3348494 100644 --- a/src/Parameters.c +++ b/src/Parameters.c @@ -144,8 +144,8 @@ SendHTTP_Redirect_Header( httpRequest *request ) { /* Now redirect the browser to the normal page */ /* Status message */ - if(HTTP_Major_Version( request ) < 1 || - (HTTP_Major_Version( request ) == 1 && HTTP_Minor_Version( request ) < 1)) + if(HTTP_MajorVersion( request ) < 1 || + (HTTP_MajorVersion( request ) == 1 && HTTP_MinorVersion( request ) < 1)) { /* Older browsers don't understand 303 */ HTTP_Send(request,"HTTP/1.0 302 Found\r\n"); @@ -198,7 +198,7 @@ static int MainParameterPage(const cGH *cctkGH, httpRequest *request, void *data /* avoid compiler warning about unused parameter */ data = data; - HTTP_Send_OK_Header( request ); + HTTP_SendOKHeader( request ); HTTP_SetDoctype( message ); HTTP_SendString(request, message); @@ -298,7 +298,7 @@ static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *dat USER_LENGTH); int readonly = notauthorised; - if(HTTP_Num_Arguments( request ) > 0) + if(HTTP_NumArguments( request ) > 0) { /* This is a parameter set request */ @@ -313,10 +313,10 @@ static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *dat { first = 0; fprintf(stderr, "Setting %s::%s to %s\n", thorn, - HTTP_Arg_Name( argument), - HTTP_Arg_Value( argument )); - HTTP_SteerQueue(thorn, HTTP_Arg_Name( argument), - HTTP_Arg_Value( argument )); + HTTP_ArgName( argument), + HTTP_ArgValue( argument )); + HTTP_SteerQueue(thorn, HTTP_ArgName( argument), + HTTP_ArgValue( argument )); } } SendHTTP_Redirect_Header( request ); @@ -339,7 +339,7 @@ static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *dat { /* Display the page. */ /* Status message */ - HTTP_Send_OK_Header( request ); + HTTP_SendOKHeader( request ); HTTP_SetDoctype( message ); HTTP_SendString(request, message); @@ -703,7 +703,7 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) USER_LENGTH); int readonly = notauthorised; - if(HTTP_Num_Arguments( request ) > 0) + if(HTTP_NumArguments( request ) > 0) { /* This is a parameter set request */ @@ -718,10 +718,10 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) { first = 0; fprintf(stderr, "Setting %s::%s to %s\n", pData->thorn, - HTTP_Arg_Name( argument), - HTTP_Arg_Value( argument )); - HTTP_SteerQueue(pData->thorn, HTTP_Arg_Name( argument), - HTTP_Arg_Value( argument )); + HTTP_ArgName( argument), + HTTP_ArgValue( argument )); + HTTP_SteerQueue(pData->thorn, HTTP_ArgName( argument), + HTTP_ArgValue( argument )); } } SendHTTP_Redirect_Header( request ); @@ -742,7 +742,7 @@ static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data) { t_range *range; /* Display the page. */ - HTTP_Send_OK_Header( request ); + HTTP_SendOKHeader( request ); HTTP_SetDoctype( message ); HTTP_SendString(request, message); |