summaryrefslogtreecommitdiff
path: root/include/adapter.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-05-29 04:23:48 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-10-20 23:54:03 -0700
commite87003c927104c5ec90ab1c400d9ef31037bbda5 (patch)
tree3bf62a1ee1fd994b8a0012d88d3637ef752d367b /include/adapter.h
parent47dec148a85d71b08b873f8c51ccaa1b861ddc37 (diff)
downloadneard-e87003c927104c5ec90ab1c400d9ef31037bbda5.tar.gz
neard-e87003c927104c5ec90ab1c400d9ef31037bbda5.tar.bz2
neard-e87003c927104c5ec90ab1c400d9ef31037bbda5.zip
adapter: Only support one target
There is realistically no use cases for an NFC adapter handling several targets at the same time. Also, it makes even less sense from a card emulation point of view.
Diffstat (limited to 'include/adapter.h')
-rw-r--r--include/adapter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/adapter.h b/include/adapter.h
index 71d8c5c..faf32ba 100644
--- a/include/adapter.h
+++ b/include/adapter.h
@@ -28,7 +28,6 @@
typedef int (*near_recv)(uint8_t *resp, int length, void *data);
-struct near_target *near_adapter_last_target(uint32_t idx);
int near_adapter_connect(uint32_t idx, uint32_t target_idx, uint8_t protocol);
int near_adapter_disconnect(uint32_t idx);
int near_adapter_send(uint32_t idx, uint8_t *buf, size_t length, near_recv rx_cb, void *data);