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.
19 * @OMA_DS_Platform_Event_Handler.h
21 * @brief This file is the header file of interface for event callback function(platform monitor)
24 #ifndef OMA_DS_PLATFORM_EVENT_HANDLER_H_
25 #define OMA_DS_PLATFORM_EVENT_HANDLER_H_
32 * @par Description: API to parse callback function for SAN
36 * @par Typical use case:
37 * @par Method of function operation:
38 * @par Important notes:
39 * @param[in] string type, msg body
40 * @param[in] unsigned int type, size of msg
41 * @param[in] int type, version
44 * @return 1 on success
58 int san_callback_parse(int item_id, void *user_data);
61 * @par Description: This API is callback function for scheduler
65 * @par Typical use case:
66 * @par Method of function operation:
67 * @par Important notes:
68 * @param[in] scheduler Id
69 * @param[in] user data
85 void send_periodic_sync_msg(int scheduler_id, void *data);
88 * @par Description: This API is for receive ip push msg from event
90 * Parse ip push msg and request sync
93 * @par Typical use case:
94 * @par Method of function operation:
95 * @par Important notes:
96 * @param[in] data(ip push message)
98 * @return 1 on success
112 int send_ip_push_sync_msg(char *data);
114 #endif /* OMA_DS_PLATFORM_EVENT_HANDLER_H_ */