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
|
|
@ -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…
Add table
Add a link
Reference in a new issue