Make freefare_tag_new() public (Fixes issue 64).
This commit is contained in:
parent
efd0d106bc
commit
68ef944cd0
3 changed files with 3 additions and 1 deletions
1
NEWS
1
NEWS
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue