RDK Documentation (Open Sourced RDK Components)
request_handler.h
Go to the documentation of this file.
1
/*
2
* If not stated otherwise in this file or this component's Licenses.txt file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2018 RDK Management
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
/**
21
* @file request_handler.h
22
*
23
* @brief API to handle single multiple and wild card parameters in HTTP JSON Interface
24
*
25
* Local Interface to handler HTTP JSON requests.
26
*
27
* @par Document
28
* Document reference.
29
*
30
* @par Open Issues (in no particular order)
31
* -# None
32
*
33
* @par Assumptions
34
* -# None
35
*
36
* @par Abbreviations
37
* - BE: ig-Endian.
38
* - cb: allback function (suffix).
39
* - DS: Device Settings.
40
* - FPD: Front-Panel Display.
41
* - HAL: Hardware Abstraction Layer.
42
* - LE: Little-Endian.
43
* - LS: Least Significant.
44
* - MBZ: Must be zero.
45
* - MS: Most Significant.
46
* - RDK: Reference Design Kit.
47
* - _t: Type (suffix).
48
*
49
* @par Implementation Notes
50
* -# None
51
*
52
*/
53
54
/**
55
* @defgroup tr69hostif
56
* @{
57
* @defgroup hostif
58
* @{
59
**/
60
#ifndef _REQUEST_HANDLER_H_
61
#define _REQUEST_HANDLER_H_
62
63
#include <wdmp-c.h>
64
65
#include "waldb.h"
66
67
68
#define MAX_PARAMETER_LEN 512
69
#define MAX_PARAMETERNAME_LEN 256
70
71
#ifdef __cplusplus
72
extern
"C"
{
73
#endif
74
75
res_struct* handleRequest(
const
char
* pcCallerID, req_struct *reqSt);
76
77
#ifdef __cplusplus
78
}
79
#endif
80
81
#endif
/* REQUEST_HANDLER_H_ */
components
generic
tr69hostif
src
hostif
httpserver
include
request_handler.h
Generated on Thu Feb 9 2023 06:32:34 for RDK Documentation (Open Sourced RDK Components) by
1.8.17