Fix doxygen
[platform/core/api/nfc.git] / src / net_nfc_client_sign_record.c
1 /*
2   * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
3   *
4   * Licensed under the Flora License, Version 1.1 (the "License");
5   * you may not use this file except in compliance with the License.
6   * You may obtain a copy of the License at
7
8   *     http://floralicense.org/license/
9   *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16
17
18 #include "net_nfc_util_sign_record.h"
19
20 #ifndef NET_NFC_EXPORT_API
21 #define NET_NFC_EXPORT_API __attribute__((visibility("default")))
22 #endif
23
24 /* LCOV_EXCL_START */
25
26 NET_NFC_EXPORT_API net_nfc_error_e net_nfc_sign_records(ndef_message_h msg, int begin_index, int end_index, char *cert_file, char *password)
27 {
28         return net_nfc_util_sign_records((ndef_message_s *)msg, begin_index, end_index, cert_file, password);
29 }
30
31 NET_NFC_EXPORT_API net_nfc_error_e net_nfc_sign_ndef_message(ndef_message_h msg, char *cert_file, char *password)
32 {
33         return net_nfc_util_sign_ndef_message((ndef_message_s *)msg, cert_file, password);
34 }
35
36 NET_NFC_EXPORT_API net_nfc_error_e net_nfc_verify_signature_ndef_message(ndef_message_h msg)
37 {
38         return net_nfc_util_verify_signature_ndef_message((ndef_message_s *)msg);
39 }
40
41 NET_NFC_EXPORT_API net_nfc_error_e net_nfc_verify_signature_records(ndef_record_h begin_record, ndef_record_h sign_record)
42 {
43         return net_nfc_util_verify_signature_records((ndef_record_s *)begin_record, (ndef_record_s *)sign_record);
44 }
45
46 /* LCOV_EXCL_STOP */
47