summaryrefslogtreecommitdiff
path: root/src/phFriNfc_LlcpTransport.h
diff options
context:
space:
mode:
authorSylvain Fonteneau <sylvain.fonteneau@trusted-logic.com>2010-11-29 10:54:08 +0100
committerNick Pelly <npelly@google.com>2010-12-05 13:15:11 -0800
commitc56a3c7bc332a6656bedf342236267b636051170 (patch)
treefd0979de60362a95cbdcf27b4b7d0746f8ac68f5 /src/phFriNfc_LlcpTransport.h
parent1c75e8952d88d81c5f04826f69ca22d14bb5683b (diff)
downloadlibnfc-nxp-c56a3c7bc332a6656bedf342236267b636051170.tar.gz
Close all LLCP sockets when the link goes down.
The LLCP link status callback is now handled first in LIB layer before being forwarded to the client. This is needed to enable the LIB layer to detect the link status change and close the sockets accordingly. Change-Id: I607aaebb4c0c8f2da09c81d4d43b4c705ebfcb13
Diffstat (limited to 'src/phFriNfc_LlcpTransport.h')
-rw-r--r--src/phFriNfc_LlcpTransport.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/phFriNfc_LlcpTransport.h b/src/phFriNfc_LlcpTransport.h
index 0cc3721..7d77634 100644
--- a/src/phFriNfc_LlcpTransport.h
+++ b/src/phFriNfc_LlcpTransport.h
@@ -269,6 +269,14 @@ NFCSTATUS phFriNfc_LlcpTransport_Reset (phFriNfc_LlcpTransport_t *pLlcpSock
/**
+* \ingroup grp_fri_nfc
+* \brief <b>Close all existing sockets</b>.
+*
+*/
+NFCSTATUS phFriNfc_LlcpTransport_CloseAll (phFriNfc_LlcpTransport_t *pLlcpSocketTable);
+
+
+/**
* \ingroup grp_lib_nfc
* \brief <b>Get the local options of a socket</b>.
*