GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MIFARE_DESFIRE_AID(3) FreeBSD Library Functions Manual MIFARE_DESFIRE_AID(3)

mifare_desfire_aid_new, mifare_desfire_aid_new_with_mad_aid, mifare_desfire_aid_get_aid
Mifare DESFire AID Manipulation Functions

Mifare card manipulation library (libfreefare, -lfreefare)

#include <freefare.h>

MifareDESFireAID
mifare_desfire_aid_new(uint32_t aid);

MifareDESFireAID
mifare_desfire_aid_new_with_mad_aid(MadAid mad_aid, uint8_t n);

uint32_t
mifare_desfire_aid_get_aid(MifareDESFireAID aid);

The mifare_desfire_aid_*() functions allows management of Mifare DESFire AIDs. The mifare_desfire_aid_new() function returns a new Mifare DESFire AID of value aid.

The mifare_desfire_aid_new_with_mad_aid() functions returns a new Mifare DESFire AID using a Mifare Classic AID mad_aid and n as the last nibble of the new AID.

Both mifare_desfire_aid_new() and mifare_desfire_aid_new_with_mad_aid() allocates memory that should be reclaimed using free(3).

The mifare_desfire_aid_get_aid() function returns the aid of the provided Mifare DESFire AID.

The allocation functions returns the allocated AID on success, NULL otherwise.

freefare(3), mifare_classic(3), free(3)

Romain Tartiere ⟨romain@il4p.org⟩
September 3, 2010 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.