| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

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 {
23 TEES_IWT_LISTENER_NAME_MAX_LENGTH = 91
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
68 TEES_IwtCloseChannel(TEES_IwtHandle iwtCtx);
69
70 #endif /* !__TEES_IWT__ */
71
TEES_IwtCloseChannel
TEE_Result TEES_IwtCloseChannel(TEES_IwtHandle iwtCtx)
Close active IWT connection iwtCtx.
TEES_IwtOpenChannel
TEE_Result TEES_IwtOpenChannel(const char *listenerName, TEES_IwtHandle *iwtCtx)
Open interworld transport (IWT) connection (channel) to the NWd Listener "listenerName".
TEES_IwtWrite
TEE_Result TEES_IwtWrite(TEES_IwtHandle iwtCtx, const void *buf, uint32_t *length)
Write length bytes from buf to the active IWT connection iwtCtx.
TEES_IwtRead
TEE_Result TEES_IwtRead(TEES_IwtHandle iwtCtx, void *buf, uint32_t *length)
Read length bytes to buf from the active IWT connection iwtCtx.
TEES_IWT_LISTENER_NAME_MAX_LENGTH
Definition: tees_iwt.h:23
TEES_IwtHandle
struct __TEES_IwtHandle * TEES_IwtHandle
Handle representing active IWT connection. Must be treated as opaque structure.
Definition: tees_iwt.h:17