Mistake on this page? Email us
uriqueryparser.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 ARM Limited. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  * Licensed under the Apache License, Version 2.0 (the License); you may
5  * not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #ifndef URIQUERYPARSER_H_
22 #define URIQUERYPARSER_H_
23 
44 int parse_query_parameter_value_from_uri(const char *uri, const char *parameter_name, const char **parameter_value);
45 
62 int parse_query_parameter_value_from_query(const char *query, const char *parameter_name, const char **parameter_value);
63 
64 
65 #endif /* URIQUERYPARSER_H_ */
66 
67 #ifdef __cplusplus
68 }
69 #endif
int parse_query_parameter_value_from_uri(const char *uri, const char *parameter_name, const char **parameter_value)
Parse a query parameter from URI and return the size of the parameter value and a pointer to the valu...
int parse_query_parameter_value_from_query(const char *query, const char *parameter_name, const char **parameter_value)
Parse a query parameter from a query and return the size of the parameter value and a pointer to the ...