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 INFORMATION_INTERNAL_H_
19 #define INFORMATION_INTERNAL_H_
21 #include "device/information.h"
24 * @file information_internal.h
25 * @brief Defines device information APIs
28 /** @addtogroup device
33 * @brief Load device information on the memory
34 * @remarks Run only once at the beginning of the process
37 sync_agent_dev_return_e res = DICI_Init(1);
39 * @param[in] device_plugin_id Device plugIn ID
40 * @return Operation result
41 * @retval DICI_SUCCESS success
42 * @retval SYNC_AGENT_DEV_RETURN_FAIL error
44 sync_agent_dev_return_e dev_init_dev(int device_plugin_id);
47 * @brief Free memory for device information on the memory
50 sync_agent_dev_return_e res = DICI_Destroy(1);
52 * @param[in] device_plugin_id Device plugIn ID
53 * @return Operation result
54 * @retval DICI_SUCCESS success
55 * @retval DICI_FAIL Operation error
57 sync_agent_dev_return_e dev_destroy_dev(int device_plugin_id);
63 #endif /* INFORMATION_INTERNAL_H_ */