Go to the source code of this file.
#define MAX_NUM_RECV_BUFFERS 2 |
#define MAX_RECV_BUFFER_SIZE 4096 |
typedef void(* event_handler_t)(const uevent_t *ev) |
int tipc_recv_op |
( |
int |
chan_handle, |
|
|
te_operation_t * |
operation, |
|
|
serialized_context_t * |
sc, |
|
|
bool |
ns_client |
|
) |
| |
Receives the te_operation object from client.
- Parameters
-
[in] | chan_handle | Handle to the channel established between TA and client |
[in,out] | operation | A pointer to the operation object that is expected to be received on this channel |
[in] | sc | serialization context used to store the received serialization buffer |
[in] | ns_client | True value of this parameter indicates that the chan_handle belongs to a NS world application |
- Returns
- NO_ERROR Indicates the operation was successful.
int tipc_send_op |
( |
int |
chan_handle, |
|
|
te_operation_t * |
operation, |
|
|
serialized_context_t * |
sc |
|
) |
| |
Send the te_operation object to client.
- Parameters
-
[in] | chan_handle | Handle to the channel established between TA and client |
[in] | operation | A pointer to the operation object that need to be sent to client |
[in] | sc | serialization context used to store the constructed serialization buffer |
- Returns
- NO_ERROR Indicates the operation was successful.