bug fix
[framework/connectivity/nfc-manager.git] / src / manager / include / net_nfc_app_util_private.h
1 /*\r
2   * Copyright 2012  Samsung Electronics Co., Ltd\r
3   *\r
4   * Licensed under the Flora License, Version 1.0 (the "License");\r
5   * you may not use this file except in compliance with the License.\r
6   * You may obtain a copy of the License at\r
7 \r
8   *     http://www.tizenopensource.org/license\r
9   *\r
10   * Unless required by applicable law or agreed to in writing, software\r
11   * distributed under the License is distributed on an "AS IS" BASIS,\r
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13   * See the License for the specific language governing permissions and\r
14   * limitations under the License.\r
15   */\r
16 \r
17 \r
18 #ifndef NET_NFC_APP_UTIL_H\r
19 #define NET_NFC_APP_UTIL_H\r
20 \r
21 #include "net_nfc_typedef.h"\r
22 #include "net_nfc_typedef_private.h"\r
23 #include <aul.h>\r
24 \r
25 #ifndef MESSAGE_STORAGE\r
26 #define MESSAGE_STORAGE "/opt/share/service/nfc-manager"\r
27 #endif\r
28 \r
29 net_nfc_error_e net_nfc_app_util_store_ndef_message(data_s *data);\r
30 net_nfc_error_e net_nfc_app_util_process_ndef(data_s *data);\r
31 void net_nfc_app_util_aul_launch_app(char* package_name, bundle* kb);\r
32 void net_nfc_app_util_clean_storage(char* src_path);\r
33 bool net_nfc_app_util_is_dir(const char* path_name);\r
34 int net_nfc_app_util_appsvc_launch(const char *operation, const char *uri, const char *mime, const char *data);\r
35 int net_nfc_app_util_launch_se_transaction_app(uint8_t *aid, uint32_t aid_len, uint8_t *param, uint32_t param_len);\r
36 int net_nfc_app_util_encode_base64(uint8_t *buffer, uint32_t buf_len, char *result, uint32_t max_result);\r
37 int net_nfc_app_util_decode_base64(const char *buffer, uint32_t buf_len, uint8_t *result, uint32_t *res_len);\r
38 \r
39 #endif\r