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

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);