Tizen 2.1 base
[platform/core/system/sync-agent.git] / src / framework / engine-controller / interface_internal.h
1 /*
2  * sync-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
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
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
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.
16  */
17
18 #ifndef ENGINE_CONTROLLER_INTERFACE_INTERNAL_H_
19 #define ENGINE_CONTROLLER_INTERFACE_INTERNAL_H_
20
21 //#include "define.h"
22 //#include "task_spec.h"
23 //#include "queuing_rule_spec.h"
24 #include "engine-controller/interface.h"
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif                          /* __cplusplus */
29
30 /**
31  * @file interface_internal.h
32  * @brief Provides APIs to support task registration and request
33  */
34
35 /** @addtogroup engine_controller
36  *      @{
37  */
38
39 /**
40  * @brief Registers user created sychronous queuing rule spec
41  * @param[in] spec User created queuing rule spec to register
42  * @param[in] ec_error Result of the registration
43  * @param[in] registered_id ID issued as a result of the registration
44  */
45         void ec_register_sync_queuing_rule_spec(sync_agent_ec_queuing_rule_spec_s * spec, sync_agent_ec_error_e * ec_error, sync_agent_ec_uint * registered_id);
46
47 /**
48  *      @}
49  */
50
51 #ifdef __cplusplus
52 }
53 #endif                          /* __cplusplus */
54 #endif                          /* ENGINE_CONTROLLER_INTERFACE_INTERNAL_H_ */