NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ote_service_utils.h File Reference

Go to the source code of this file.

Data Structures

struct  event_cookie_t
 
struct  port_state_t
 
struct  chan_state_t
 

Macros

#define MAX_NUM_RECV_BUFFERS   2
 
#define MAX_RECV_BUFFER_SIZE   4096
 

Typedefs

typedef void(* event_handler_t )(const uevent_t *ev)
 

Functions

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. More...
 
int tipc_send_op (int chan_handle, te_operation_t *operation, serialized_context_t *sc)
 Send the te_operation object to client. More...
 

Macro Definition Documentation

#define MAX_NUM_RECV_BUFFERS   2

Definition at line 31 of file ote_service_utils.h.

#define MAX_RECV_BUFFER_SIZE   4096

Definition at line 34 of file ote_service_utils.h.

Typedef Documentation

typedef void(* event_handler_t)(const uevent_t *ev)

Definition at line 36 of file ote_service_utils.h.

Function Documentation

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_handleHandle to the channel established between TA and client
[in,out]operationA pointer to the operation object that is expected to be received on this channel
[in]scserialization context used to store the received serialization buffer
[in]ns_clientTrue 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_handleHandle to the channel established between TA and client
[in]operationA pointer to the operation object that need to be sent to client
[in]scserialization context used to store the constructed serialization buffer
Returns
NO_ERROR Indicates the operation was successful.