projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.1.0
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
connectivity
/
inc
/
caadapterinterface.h
diff --git
a/resource/csdk/connectivity/inc/caadapterinterface.h
b/resource/csdk/connectivity/inc/caadapterinterface.h
index
50df459
..
8e029ad
100644
(file)
--- a/
resource/csdk/connectivity/inc/caadapterinterface.h
+++ b/
resource/csdk/connectivity/inc/caadapterinterface.h
@@
-169,14
+169,15
@@
typedef struct
/** Terminate function address stored in this pointer. **/
CAAdapterTerminate terminate;
/** Terminate function address stored in this pointer. **/
CAAdapterTerminate terminate;
+ /** Type of transport adapter. **/
+ CATransportAdapter_t cType;
} CAConnectivityHandler_t;
/**
* This will be used during the registration of adapters call backs to the common logic.
} CAConnectivityHandler_t;
/**
* This will be used during the registration of adapters call backs to the common logic.
- * @see ::CAConnectivityHandler_t
, ::CATransportAdapter_t
+ * @see ::CAConnectivityHandler_t
*/
*/
-typedef void (*CARegisterConnectivityCallback)(CAConnectivityHandler_t handler,
- CATransportAdapter_t cType);
+typedef void (*CARegisterConnectivityCallback)(CAConnectivityHandler_t handler);
/**
* This will be used during the receive of network requests and response.
/**
* This will be used during the receive of network requests and response.