3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef DATA_CONVERTER_RESOURCE_H_
19 #define DATA_CONVERTER_RESOURCE_H_
23 #endif /* __cplusplus */
26 * @file data_converter_resource.h
27 * @brief Support to share structure DataConverter plugIn with sync-agent-framework
30 /** @addtogroup plugin_dataconverter DataConverter Domain
36 * Structure of Converter plugin's object's field - linked list
38 struct sync_agent_plugin_field_info {
39 char *field_name; /**< field name */
40 int field_child_cnt; /**< field's child count */
41 struct sync_agent_plugin_field_info *field_child_list; /**< next field info node */
45 * Structure of Converter plugin's Object info
48 char *type; /**< object type */
50 /**< object version */
51 int field_cnt; /**< field count */
52 struct sync_agent_plugin_field_info *field_list; /**< real field list **/
53 } sync_agent_plugin_object_info_s;
55 typedef struct sync_agent_plugin_field_info sync_agent_plugin_field_info_s;
63 #endif /* __cplusplus */
64 #endif /* DATA_CONVERTER_RESOURCE_H_ */