summaryrefslogtreecommitdiffstats
path: root/src/phLibNfc_Internal.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/phLibNfc_Internal.h
parent1c75e8952d88d81c5f04826f69ca22d14bb5683b (diff)
downloadexternal_libnfc-nxp-c56a3c7bc332a6656bedf342236267b636051170.zip
external_libnfc-nxp-c56a3c7bc332a6656bedf342236267b636051170.tar.gz
external_libnfc-nxp-c56a3c7bc332a6656bedf342236267b636051170.tar.bz2
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/phLibNfc_Internal.h')
-rw-r--r--src/phLibNfc_Internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phLibNfc_Internal.h b/src/phLibNfc_Internal.h
index 0803101..10018ec 100644
--- a/src/phLibNfc_Internal.h
+++ b/src/phLibNfc_Internal.h
@@ -130,6 +130,10 @@ typedef struct phLibNfc_Hal_CB_Info
pphLibNfc_ChkLlcpRspCb_t pClientLlcpCheckRespCb;
void *pClientLlcpCheckRespCntx;
+ /*LLCP Link CB*/
+ pphLibNfc_LlcpLinkStatusCb_t pClientLlcpLinkCb;
+ void *pClientLlcpLinkCntx;
+
}phLibNfc_Hal_CB_Info_t;
typedef struct phLibNfc_NdefInfo