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 OMA_DM_TASK_SPEC_H_
19 #define OMA_DM_TASK_SPEC_H_
25 #include <sync_agent.h>
27 #define EC_MSG_TYPE_DM_INIT_CONTAINER_TASK_REQUEST 0
28 #define EC_MSG_TYPE_NAME_DM_INIT_CONTAINER_TASK_REQUEST "dm_init_contatiner"
30 #define EC_MSG_TYPE_DM_INIT_TASK_REQUEST 1
31 #define EC_MSG_TYPE_NAME_DM_INIT_TASK_REQUEST "dm_init"
33 #define EC_MSG_TYPE_DM_RESET_TASK_REQUEST 2
34 #define EC_MSG_TYPE_NAME_DM_RESET_TASK_REQUEST "dm_reset"
36 #define EC_MSG_TYPE_BOOTSTRAP_TASK_REQUEST 3
37 #define EC_MSG_TYPE_NAME_BOOTSTRAP_TASK_REQUEST "dm_bootstrap"
39 #define EC_MSG_TYPE_DM_FUMO_COMMON_TASK_REQUEST 4
40 #define EC_MSG_TYPE_NAME_DM_FUMO_COMMON_TASK_REQUEST "dm_ fumo_common"
42 #define EC_MSG_TYPE_DM_FUMO_UI_TASK_REQUEST 5
43 #define EC_MSG_TYPE_NAME_DM_FUMO_UI_TASK_REQUEST "dm_ fumo_ui"
45 #define EC_MSG_TYPE_DM_LAWMO_COMMON_TASK_REQUEST 6
46 #define EC_MSG_TYPE_NAME_DM_LAWMO_COMMON_TASK_REQUEST "dm_lawmo_common"
48 #define EC_MSG_TYPE_GENERICALERT_TASK_REQUEST 7
49 #define EC_MSG_TYPE_NAME_GENERICALERT_TASK_REQUEST "dm_genericalert"
51 #define EC_MSG_TYPE_FUMO_SERVICE_ENGINE_TASK_REQUEST 8
52 #define EC_MSG_TYPE_NAME_FUMO_SERVICE_ENGINE_TASK_REQUEST "dm_fumo_service_engine"
54 #define EC_MSG_TYPE_LAWMO_SERVICE_ENGINE_TASK_REQUEST 9
55 #define EC_MSG_TYPE_NAME_LAWMO_SERVICE_ENGINE_TASK_REQUEST "dm_lawmo_service_engine"
57 #define EC_MSG_TYPE_FUMO_SCHEDULE_TASK_REQUEST 10
58 #define EC_MSG_TYPE_NAME_FUMO_SCHEDULE_TASK_REQUEST "dm_fumo_schedule"
61 * @par Description: API to make_dm_init_task_spec
65 * @par Typical use case:
66 * @par Method of function operation:
67 * @par Important notes:
69 * @return sync_agent_ec_task_spec_s
83 sync_agent_ec_task_spec_s *make_dm_init_task_spec();
86 * @par Description: API to start_dm_init_process
90 * @par Typical use case:
91 * @par Method of function operation:
92 * @par Important notes:
93 * @param[in] param count count
94 * @param[out] sync_agent_ec_param_param_s param array
96 * @return sync_agent_ec_task_error_e
110 //sync_agent_ec_task_error_e start_dm_init_process(unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
113 * @par Description: API to make_dm_reset_task_spec
117 * @par Typical use case:
118 * @par Method of function operation:
119 * @par Important notes:
121 * @return sync_agent_ec_task_spec_s
135 sync_agent_ec_task_spec_s *make_dm_reset_task_spec();
138 * @par Description: API to start_dm_reset_process
142 * @par Typical use case:
143 * @par Method of function operation:
144 * @par Important notes:
145 * @param[in] param count count
146 * @param[out] sync_agent_ec_param_param_s param array
148 * @return sync_agent_ec_task_error_e
162 //sync_agent_ec_task_error_e start_dm_reset_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
165 * @par Description: API to make_bootstrap_task_spec
169 * @par Typical use case:
170 * @par Method of function operation:
171 * @par Important notes:
173 * @return sync_agent_ec_task_spec_s
187 sync_agent_ec_task_spec_s *make_bootstrap_task_spec();
190 * @par Description: API to start_bootstrap_process
194 * @par Typical use case:
195 * @par Method of function operation:
196 * @par Important notes:
197 * @param[in] param count count
198 * @param[out] sync_agent_ec_param_param_s param array
200 * @return sync_agent_ec_task_error_e
214 //sync_agent_ec_task_error_e start_bootstrap_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
217 * @par Description: API to make_dm_fumo_common_process_task_spec
221 * @par Typical use case:
222 * @par Method of function operation:
223 * @par Important notes:
225 * @return sync_agent_ec_task_spec_s
239 sync_agent_ec_task_spec_s *make_dm_fumo_common_process_task_spec();
242 * @par Description: API to start_dm_fumo_common_process
246 * @par Typical use case:
247 * @par Method of function operation:
248 * @par Important notes:
249 * @param[in] param count count
250 * @param[out] sync_agent_ec_param_param_s param array
252 * @return sync_agent_ec_task_error_e
266 //sync_agent_ec_task_error_e start_dm_fumo_common_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
269 * @par Description: API to make_dm_fumo_ui_process_task_spec
273 * @par Typical use case:
274 * @par Method of function operation:
275 * @par Important notes:
277 * @return sync_agent_ec_task_spec_s
291 sync_agent_ec_task_spec_s *make_dm_fumo_ui_process_task_spec();
294 * @par Description: API to start_dm_fumo_ui_process
298 * @par Typical use case:
299 * @par Method of function operation:
300 * @par Important notes:
301 * @param[in] param count count
302 * @param[out] sync_agent_ec_param_param_s param array
304 * @return sync_agent_ec_task_error_e
318 //sync_agent_ec_task_error_e start_dm_fumo_ui_process(unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
321 * @par Description: API to make_dm_lawmo_common_process_task_spec
325 * @par Typical use case:
326 * @par Method of function operation:
327 * @par Important notes:
329 * @return sync_agent_ec_task_spec_s
343 sync_agent_ec_task_spec_s *make_dm_lawmo_common_process_task_spec();
346 * @par Description: API to start_dm_lawmo_common_process
350 * @par Typical use case:
351 * @par Method of function operation:
352 * @par Important notes:
353 * @param[in] param count count
354 * @param[out] sync_agent_ec_param_param_s param array
356 * @return sync_agent_ec_task_error_e
370 //sync_agent_ec_task_error_e start_dm_lawmo_common_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
373 * @par Description: API to make_genericAlert_process_task_spec
377 * @par Typical use case:
378 * @par Method of function operation:
379 * @par Important notes:
381 * @return sync_agent_ec_task_spec_s
395 sync_agent_ec_task_spec_s *make_genericAlert_process_task_spec();
398 * @par Description: API to start_genericAlert_process
402 * @par Typical use case:
403 * @par Method of function operation:
404 * @par Important notes:
405 * @param[in] param count count
406 * @param[out] sync_agent_ec_param_param_s param array
408 * @return sync_agent_ec_task_error_e
422 //sync_agent_ec_task_error_e start_genericAlert_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
425 * @par Description: API to make_fumo_serviceEngine_process_task_spec
429 * @par Typical use case:
430 * @par Method of function operation:
431 * @par Important notes:
433 * @return sync_agent_ec_task_spec_s
447 sync_agent_ec_task_spec_s *make_fumo_serviceEngine_process_task_spec();
450 * @par Description: API to start_fumo_serviceEngine_process
454 * @par Typical use case:
455 * @par Method of function operation:
456 * @par Important notes:
457 * @param[in] param count count
458 * @param[out] sync_agent_ec_param_param_s param array
460 * @return sync_agent_ec_task_error_e
474 //sync_agent_ec_task_error_e start_fumo_serviceEngine_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
477 * @par Description: API to make_lawmo_serviceEngine_process_task_spec
481 * @par Typical use case:
482 * @par Method of function operation:
483 * @par Important notes:
485 * @return sync_agent_ec_task_spec_s
499 sync_agent_ec_task_spec_s *make_lawmo_serviceEngine_process_task_spec();
502 * @par Description: API to start_lawmo_serviceEngine_process
506 * @par Typical use case:
507 * @par Method of function operation:
508 * @par Important notes:
509 * @param[in] param count count
510 * @param[out] sync_agent_ec_param_param_s param array
512 * @return sync_agent_ec_task_error_e
526 //sync_agent_ec_task_error_e start_lawmo_serviceEngine_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
529 * @par Description: API to make_fumo_schedule_process_task_spec
533 * @par Typical use case:
534 * @par Method of function operation:
535 * @par Important notes:
537 * @return sync_agent_ec_task_spec_s
551 sync_agent_ec_task_spec_s *make_fumo_schedule_process_task_spec();
554 * @par Description: API to start_fumo_schedule_process
558 * @par Typical use case:
559 * @par Method of function operation:
560 * @par Important notes:
561 * @param[in] param count count
562 * @param[out] sync_agent_ec_param_param_s param array
564 * @return sync_agent_ec_task_error_e
578 //sync_agent_ec_task_error_e start_fumo_schedule_process(unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
580 #endif /* DM_TASK_SPEC_H_ */