libnfc  1.7.1
Functions
Miscellaneous

Functions

const char * nfc_version (void)
 Returns the library version.
void nfc_free (void *p)
 Free buffer allocated by libnfc.
int nfc_device_get_information_about (nfc_device *pnd, char **buf)
 Print information about NFC device.

Function Documentation

int nfc_device_get_information_about ( nfc_device pnd,
char **  buf 
)

Print information about NFC device.

Returns:
Upon successful return, this function returns the number of characters printed (excluding the null byte used to end output to strings), otherwise returns libnfc's error code (negative value)
Parameters:
pndnfc_device struct pointer that represent currently used device
bufpointer where string will be allocated, then information printed
Warning:
*buf must be freed using nfc_free()

Definition at line 1247 of file nfc.c.

void nfc_free ( void *  p)

Free buffer allocated by libnfc.

Parameters:
pointeron buffer that needs to be freed

Definition at line 1233 of file nfc.c.

const char* nfc_version ( void  )

Returns the library version.

Returns:
Returns a string with the library version
Parameters:
pndnfc_device struct pointer that represent currently used device

Definition at line 1218 of file nfc.c.