Make freefare_tag_new() public (Fixes issue 64).

This commit is contained in:
Romain Tartiere 2011-09-29 14:10:07 +00:00
parent efd0d106bc
commit 68ef944cd0
3 changed files with 3 additions and 1 deletions

1
NEWS
View file

@ -14,6 +14,7 @@ Changes between 0.3.1 and 0.3.2 [XX xxx XXXX]
mifare_desfire_create_backup_data_file_iso(),
mifare_desfire_create_linear_record_file_iso(),
mifare_desfire_create_cyclic_record_file_iso().
*) New public API function freefare_tag_new();
*) Microsoft Windows support.
Changes between 0.3.0 and 0.3.1 [23 feb 2011]

View file

@ -40,7 +40,7 @@ struct supported_tag supported_tags[] = {
/*
* Automagically allocate a MifareTag given a device and target info.
*/
static MifareTag
MifareTag
freefare_tag_new (nfc_device_t *device, nfc_iso14443a_info_t nai)
{
bool found = false;

View file

@ -53,6 +53,7 @@ typedef uint8_t MifareUltralightPageNumber;
typedef unsigned char MifareUltralightPage[4];
MifareTag *freefare_get_tags (nfc_device_t *device);
MifareTag freefare_tag_new (nfc_device_t *device, nfc_iso14443a_info_t nai);
enum mifare_tag_type freefare_get_tag_type (MifareTag tag);
const char *freefare_get_tag_friendly_name (MifareTag tag);
char *freefare_get_tag_uid (MifareTag tag);