aboutsummaryrefslogblamecommitdiffstats
path: root/dev-libs/libnfc/files/add-get-easy-frameing.patch
blob: 5d5bd64529eb6457d030f9d103618228ced84237 (plain) (tree)


























                                                                                                                                                
--- libnfc-1.6.0-rc1/include/nfc/nfc.h	2012-03-01 16:02:42.000000000 +0100
+++ libnfc-1.6.0-rc1/include/nfc/nfc.h	2012-06-06 22:03:00.340374314 +0200
@@ -105,6 +103,7 @@
   NFC_EXPORT const char *nfc_device_get_connstring (nfc_device *pnd);
   NFC_EXPORT int nfc_device_get_supported_modulation (nfc_device *pnd, const nfc_mode mode,  const nfc_modulation_type **const supported_mt);
   NFC_EXPORT int nfc_device_get_supported_baud_rate (nfc_device *pnd, const nfc_modulation_type nmt, const nfc_baud_rate **const supported_br);
+  NFC_EXPORT bool nfc_device_get_easy_framing (nfc_device *pnd);
 
 /* Properties accessors */
   NFC_EXPORT int nfc_device_set_property_int (nfc_device *pnd, const nfc_property property, const int value);

--- libnfc-1.6.0-rc1/libnfc/nfc.c	2012-03-01 16:02:42.000000000 +0100
+++ libnfc-1.6.0-rc1/libnfc/nfc.c	2012-06-06 22:03:32.110977125 +0200
@@ -1017,6 +1017,12 @@
   HAL (get_supported_baud_rate, pnd, nmt, supported_br);
 }
 
+bool
+nfc_device_get_easy_framing (nfc_device *pnd)
+{
+  return pnd->bEasyFraming;
+}
+
 /* Misc. functions */
 
 /** @ingroup misc