Tizen 2.0 Release
[framework/system/oma-dm-agent.git] / include / framework / task / oma_dm_task_spec.h
1 /*
2  * oma-dm-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 OMA_DM_TASK_SPEC_H_
19 #define OMA_DM_TASK_SPEC_H_
20
21 /*lib*/
22 #include <stdio.h>
23
24 /*sync-agent*/
25 #include <sync_agent.h>
26
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"
29
30 #define EC_MSG_TYPE_DM_INIT_TASK_REQUEST                                                                                                1
31 #define EC_MSG_TYPE_NAME_DM_INIT_TASK_REQUEST                                                                   "dm_init"
32
33 #define EC_MSG_TYPE_DM_RESET_TASK_REQUEST                                                                                       2
34 #define EC_MSG_TYPE_NAME_DM_RESET_TASK_REQUEST                                                          "dm_reset"
35
36 #define EC_MSG_TYPE_BOOTSTRAP_TASK_REQUEST                                                                              3
37 #define EC_MSG_TYPE_NAME_BOOTSTRAP_TASK_REQUEST                                                         "dm_bootstrap"
38
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"
41
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"
44
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"
47
48 #define EC_MSG_TYPE_GENERICALERT_TASK_REQUEST                                                                   7
49 #define EC_MSG_TYPE_NAME_GENERICALERT_TASK_REQUEST                                                      "dm_genericalert"
50
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"
53
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"
56
57 #define EC_MSG_TYPE_FUMO_SCHEDULE_TASK_REQUEST                                                          10
58 #define EC_MSG_TYPE_NAME_FUMO_SCHEDULE_TASK_REQUEST                                     "dm_fumo_schedule"
59
60 /**
61  * @par Description: API to make_dm_init_task_spec
62  *
63  *
64  * @par Purpose:
65  * @par Typical use case:
66  * @par Method of function operation:
67  * @par Important notes:
68  *
69  * @return                              sync_agent_ec_task_spec_s
70  *
71  *
72  * @par Errors:
73  *
74  * @pre None.
75  * @post
76  * @see
77  * @remarks None.
78  *
79  * @par Sample Code:
80  * @code
81  * @endcode
82  */
83 sync_agent_ec_task_spec_s *make_dm_init_task_spec();
84
85 /**
86  * @par Description: API to start_dm_init_process
87  *
88  *
89  * @par Purpose:
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
95  *
96  * @return                              sync_agent_ec_task_error_e
97  *
98  *
99  * @par Errors:
100  *
101  * @pre None.
102  * @post
103  * @see
104  * @remarks None.
105  *
106  * @par Sample Code:
107  * @code
108  * @endcode
109  */
110 //sync_agent_ec_task_error_e start_dm_init_process(unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
111
112 /**
113  * @par Description: API to make_dm_reset_task_spec
114  *
115  *
116  * @par Purpose:
117  * @par Typical use case:
118  * @par Method of function operation:
119  * @par Important notes:
120  *
121  * @return                              sync_agent_ec_task_spec_s
122  *
123  *
124  * @par Errors:
125  *
126  * @pre None.
127  * @post
128  * @see
129  * @remarks None.
130  *
131  * @par Sample Code:
132  * @code
133  * @endcode
134  */
135 sync_agent_ec_task_spec_s *make_dm_reset_task_spec();
136
137 /**
138  * @par Description: API to start_dm_reset_process
139  *
140  *
141  * @par Purpose:
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
147  *
148  * @return                              sync_agent_ec_task_error_e
149  *
150  *
151  * @par Errors:
152  *
153  * @pre None.
154  * @post
155  * @see
156  * @remarks None.
157  *
158  * @par Sample Code:
159  * @code
160  * @endcode
161  */
162 //sync_agent_ec_task_error_e start_dm_reset_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
163
164 /**
165  * @par Description: API to make_bootstrap_task_spec
166  *
167  *
168  * @par Purpose:
169  * @par Typical use case:
170  * @par Method of function operation:
171  * @par Important notes:
172  *
173  * @return                              sync_agent_ec_task_spec_s
174  *
175  *
176  * @par Errors:
177  *
178  * @pre None.
179  * @post
180  * @see
181  * @remarks None.
182  *
183  * @par Sample Code:
184  * @code
185  * @endcode
186  */
187 sync_agent_ec_task_spec_s *make_bootstrap_task_spec();
188
189 /**
190  * @par Description: API to start_bootstrap_process
191  *
192  *
193  * @par Purpose:
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
199  *
200  * @return                              sync_agent_ec_task_error_e
201  *
202  *
203  * @par Errors:
204  *
205  * @pre None.
206  * @post
207  * @see
208  * @remarks None.
209  *
210  * @par Sample Code:
211  * @code
212  * @endcode
213  */
214 //sync_agent_ec_task_error_e start_bootstrap_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
215
216 /**
217  * @par Description: API to make_dm_fumo_common_process_task_spec
218  *
219  *
220  * @par Purpose:
221  * @par Typical use case:
222  * @par Method of function operation:
223  * @par Important notes:
224  *
225  * @return                              sync_agent_ec_task_spec_s
226  *
227  *
228  * @par Errors:
229  *
230  * @pre None.
231  * @post
232  * @see
233  * @remarks None.
234  *
235  * @par Sample Code:
236  * @code
237  * @endcode
238  */
239 sync_agent_ec_task_spec_s *make_dm_fumo_common_process_task_spec();
240
241 /**
242  * @par Description: API to start_dm_fumo_common_process
243  *
244  *
245  * @par Purpose:
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
251  *
252  * @return                              sync_agent_ec_task_error_e
253  *
254  *
255  * @par Errors:
256  *
257  * @pre None.
258  * @post
259  * @see
260  * @remarks None.
261  *
262  * @par Sample Code:
263  * @code
264  * @endcode
265  */
266 //sync_agent_ec_task_error_e start_dm_fumo_common_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
267
268 /**
269  * @par Description: API to make_dm_fumo_ui_process_task_spec
270  *
271  *
272  * @par Purpose:
273  * @par Typical use case:
274  * @par Method of function operation:
275  * @par Important notes:
276  *
277  * @return                              sync_agent_ec_task_spec_s
278  *
279  *
280  * @par Errors:
281  *
282  * @pre None.
283  * @post
284  * @see
285  * @remarks None.
286  *
287  * @par Sample Code:
288  * @code
289  * @endcode
290  */
291 sync_agent_ec_task_spec_s *make_dm_fumo_ui_process_task_spec();
292
293 /**
294  * @par Description: API to start_dm_fumo_ui_process
295  *
296  *
297  * @par Purpose:
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
303  *
304  * @return                              sync_agent_ec_task_error_e
305  *
306  *
307  * @par Errors:
308  *
309  * @pre None.
310  * @post
311  * @see
312  * @remarks None.
313  *
314  * @par Sample Code:
315  * @code
316  * @endcode
317  */
318 //sync_agent_ec_task_error_e start_dm_fumo_ui_process(unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
319
320 /**
321  * @par Description: API to make_dm_lawmo_common_process_task_spec
322  *
323  *
324  * @par Purpose:
325  * @par Typical use case:
326  * @par Method of function operation:
327  * @par Important notes:
328  *
329  * @return                              sync_agent_ec_task_spec_s
330  *
331  *
332  * @par Errors:
333  *
334  * @pre None.
335  * @post
336  * @see
337  * @remarks None.
338  *
339  * @par Sample Code:
340  * @code
341  * @endcode
342  */
343 sync_agent_ec_task_spec_s *make_dm_lawmo_common_process_task_spec();
344
345 /**
346  * @par Description: API to start_dm_lawmo_common_process
347  *
348  *
349  * @par Purpose:
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
355  *
356  * @return                              sync_agent_ec_task_error_e
357  *
358  *
359  * @par Errors:
360  *
361  * @pre None.
362  * @post
363  * @see
364  * @remarks None.
365  *
366  * @par Sample Code:
367  * @code
368  * @endcode
369  */
370 //sync_agent_ec_task_error_e start_dm_lawmo_common_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
371
372 /**
373  * @par Description: API to make_genericAlert_process_task_spec
374  *
375  *
376  * @par Purpose:
377  * @par Typical use case:
378  * @par Method of function operation:
379  * @par Important notes:
380  *
381  * @return                              sync_agent_ec_task_spec_s
382  *
383  *
384  * @par Errors:
385  *
386  * @pre None.
387  * @post
388  * @see
389  * @remarks None.
390  *
391  * @par Sample Code:
392  * @code
393  * @endcode
394  */
395 sync_agent_ec_task_spec_s *make_genericAlert_process_task_spec();
396
397 /**
398  * @par Description: API to start_genericAlert_process
399  *
400  *
401  * @par Purpose:
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
407  *
408  * @return                              sync_agent_ec_task_error_e
409  *
410  *
411  * @par Errors:
412  *
413  * @pre None.
414  * @post
415  * @see
416  * @remarks None.
417  *
418  * @par Sample Code:
419  * @code
420  * @endcode
421  */
422 //sync_agent_ec_task_error_e start_genericAlert_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
423
424 /**
425  * @par Description: API to make_fumo_serviceEngine_process_task_spec
426  *
427  *
428  * @par Purpose:
429  * @par Typical use case:
430  * @par Method of function operation:
431  * @par Important notes:
432  *
433  * @return                              sync_agent_ec_task_spec_s
434  *
435  *
436  * @par Errors:
437  *
438  * @pre None.
439  * @post
440  * @see
441  * @remarks None.
442  *
443  * @par Sample Code:
444  * @code
445  * @endcode
446  */
447 sync_agent_ec_task_spec_s *make_fumo_serviceEngine_process_task_spec();
448
449 /**
450  * @par Description: API to start_fumo_serviceEngine_process
451  *
452  *
453  * @par Purpose:
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
459  *
460  * @return                              sync_agent_ec_task_error_e
461  *
462  *
463  * @par Errors:
464  *
465  * @pre None.
466  * @post
467  * @see
468  * @remarks None.
469  *
470  * @par Sample Code:
471  * @code
472  * @endcode
473  */
474 //sync_agent_ec_task_error_e start_fumo_serviceEngine_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
475
476 /**
477  * @par Description: API to make_lawmo_serviceEngine_process_task_spec
478  *
479  *
480  * @par Purpose:
481  * @par Typical use case:
482  * @par Method of function operation:
483  * @par Important notes:
484  *
485  * @return                              sync_agent_ec_task_spec_s
486  *
487  *
488  * @par Errors:
489  *
490  * @pre None.
491  * @post
492  * @see
493  * @remarks None.
494  *
495  * @par Sample Code:
496  * @code
497  * @endcode
498  */
499 sync_agent_ec_task_spec_s *make_lawmo_serviceEngine_process_task_spec();
500
501 /**
502  * @par Description: API to start_lawmo_serviceEngine_process
503  *
504  *
505  * @par Purpose:
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
511  *
512  * @return                              sync_agent_ec_task_error_e
513  *
514  *
515  * @par Errors:
516  *
517  * @pre None.
518  * @post
519  * @see
520  * @remarks None.
521  *
522  * @par Sample Code:
523  * @code
524  * @endcode
525  */
526 //sync_agent_ec_task_error_e start_lawmo_serviceEngine_process( unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
527
528 /**
529  * @par Description: API to make_fumo_schedule_process_task_spec
530  *
531  *
532  * @par Purpose:
533  * @par Typical use case:
534  * @par Method of function operation:
535  * @par Important notes:
536  *
537  * @return                              sync_agent_ec_task_spec_s
538  *
539  *
540  * @par Errors:
541  *
542  * @pre None.
543  * @post
544  * @see
545  * @remarks None.
546  *
547  * @par Sample Code:
548  * @code
549  * @endcode
550  */
551 sync_agent_ec_task_spec_s *make_fumo_schedule_process_task_spec();
552
553 /**
554  * @par Description: API to start_fumo_schedule_process
555  *
556  *
557  * @par Purpose:
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
563  *
564  * @return                              sync_agent_ec_task_error_e
565  *
566  *
567  * @par Errors:
568  *
569  * @pre None.
570  * @post
571  * @see
572  * @remarks None.
573  *
574  * @par Sample Code:
575  * @code
576  * @endcode
577  */
578 //sync_agent_ec_task_error_e start_fumo_schedule_process(unsigned int param_cnt, sync_agent_ec_param_param_s** param_array);
579
580 #endif                          /* DM_TASK_SPEC_H_ */