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.
22 #include "common/dm_error.h"
23 #include "serviceadapter/sa_define.h"
26 * @par Description: API to create syncml object binder
30 * @par Typical use case:
31 * @par Method of function operation:
32 * @par Important notes:
33 * @param[in] Syncml structure
34 * @param[out] string type, msg
35 * @param[out] msg size
37 * @return DM_OK on success
51 DM_ERROR syncml_objectbinder(SyncML * pSyncML, char **msg, unsigned int *msg_size);
54 * @par Description: API to reverse syncml object binder
58 * @par Typical use case:
59 * @par Method of function operation:
60 * @par Important notes:
61 * @param[out] Syncml structure
62 * @param[out] string type, recieve msg
63 * @param[out] int type, recieve msg size
64 * @param[out] string type, xml
65 * @param[out] int type, xml size
67 * @return DM_OK on success
81 DM_ERROR reverse_syncml_objectbinder(SyncML ** pSyncML, char *recv_msg, unsigned int recv_msg_length, char **xml, unsigned int *xml_len);
83 #endif /* SA_BINDERS_H_ */