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.
21 * @brief This file is the header file of interface of NA Binder
27 #include <sync_agent.h>
28 #include "service-adapter/sa_define.h"
31 * @par Description: API to header binding for HTTP protocol
35 * @par Typical use case:
36 * @par Method of function operation:
37 * @par Important notes:
38 * @param[in] string type, access type(http, obex...)
39 * @param[in] string type, target uri
40 * @param[in] boolean type, xml or wbxml
41 * @param[out] GList type, list of header info
43 * @return 1 on success
57 int na_http_header_binder(char *acc_type, char *loc_uri, bool is_xml, char *jsession_id, GList ** list);
60 * @par Description: API to free sync_agent_na_common_header_info_s structure
64 * @par Typical use case:
65 * @par Method of function operation:
66 * @par Important notes:
67 * @param[in] sync_agent_na_common_header_info_s structure
83 void free_header_info(sync_agent_na_common_header_info_s * common_header_info);
85 #endif /* NA_BINDER_H_ */