2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT 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.
17 //////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \ingroup MY 14 Platform Software Team
19 /// \brief Internal Header for ns_config_parser_cfg.c
21 /// These structures are file handler structure.
24 //////////////////////////////////////////////////////////////////////////////////////////////////
26 #ifndef FRAMEWORK_UNIFIED_CLIENT_NS_XMLCONFIGEPARSER_LIBRARY_INCLUDE_NS_CONFIG_PARSER_INTERNAL_H_
27 #define FRAMEWORK_UNIFIED_CLIENT_NS_XMLCONFIGEPARSER_LIBRARY_INCLUDE_NS_CONFIG_PARSER_INTERNAL_H_
29 #include <libxml/tree.h>
30 #include <ns_config_parser.h>
33 // defines enum for MODE
34 // in which file is opened
36 kReadMode = 0, kWriteMode, kAppend
39 // defines enum for STATUS
41 kSuccess = 0, kFailure
44 // defines enum for Filetype
45 // i.e .cfg or .xml or other type of file
46 typedef enum Filetype {
47 kCfg = 0, kXml, kOther
51 typedef struct FILESTRUCT {
60 #endif // FRAMEWORK_UNIFIED_CLIENT_NS_XMLCONFIGEPARSER_LIBRARY_INCLUDE_NS_CONFIG_PARSER_INTERNAL_H_