Samsung Internal API reference  2.0
tees_iwt.h
Go to the documentation of this file.
1 
9 #ifndef __TEES_IWT__
10 #define __TEES_IWT__
11 
12 #include <tee_internal_api.h>
13 
17 typedef struct __TEES_IwtHandle *TEES_IwtHandle;
18 
22 enum {
24 };
25 
36 TEE_Result DSO_EXPORT
37 TEES_IwtOpenChannel(const char *listenerName, TEES_IwtHandle *iwtCtx);
38 
47 TEE_Result DSO_EXPORT
48 TEES_IwtWrite(TEES_IwtHandle iwtCtx, const void *buf, uint32_t *length);
49 
58 TEE_Result DSO_EXPORT
59 TEES_IwtRead(TEES_IwtHandle iwtCtx, void *buf, uint32_t *length);
60 
67 TEE_Result DSO_EXPORT
69 
70 #endif /* !__TEES_IWT__ */
71 
TEE_Result TEES_IwtCloseChannel(TEES_IwtHandle iwtCtx)
Close active IWT connection iwtCtx.
TEE_Result TEES_IwtOpenChannel(const char *listenerName, TEES_IwtHandle *iwtCtx)
Open interworld transport (IWT) connection (channel) to the NWd Listener "listenerName".
TEE_Result TEES_IwtWrite(TEES_IwtHandle iwtCtx, const void *buf, uint32_t *length)
Write length bytes from buf to the active IWT connection iwtCtx.
TEE_Result TEES_IwtRead(TEES_IwtHandle iwtCtx, void *buf, uint32_t *length)
Read length bytes to buf from the active IWT connection iwtCtx.
Definition: tees_iwt.h:23
struct __TEES_IwtHandle * TEES_IwtHandle
Handle representing active IWT connection. Must be treated as opaque structure.
Definition: tees_iwt.h:17