TizenRT Public API  v2.0 M2
messaging.h File Reference

Go to the source code of this file.

Data Structures

struct  msg_send_data_s
 The structure of parameters which used for sending. More...
 
struct  msg_recv_buf_s
 The structure of parameters which used for receiving. More...
 
struct  msg_callback_info_s
 The structure of parameters which has callback information. More...
 

Macros

#define MSG_READ_YET   0
 These configs are used internally for getting receivers information before send. More...
 

Typedefs

typedef void(* msg_callback_t) (msg_reply_type_t msg_type, msg_recv_buf_t *recv_data, void *cb_data)
 Called when a message is received. More...
 

Enumerations

Functions

int messaging_send_sync (const char *port_name, msg_send_data_t *send_data, msg_recv_buf_t *reply_buf)
 Send(unicast) message with sync mode. More...
 
int messaging_send_async (const char *port_name, msg_send_data_t *send_data, msg_recv_buf_t *reply_buf, msg_callback_info_t *cb_info)
 Send(unicast) message with async mode. More...
 
int messaging_send (const char *port_name, msg_send_data_t *send_data)
 Send(unicast) message with noreply mode. More...
 
int messaging_reply (const char *port_name, pid_t sender_pid, msg_send_data_t *reply_data)
 Reply(unicast) message to specified message port. More...
 
int messaging_multicast (const char *port_name, msg_send_data_t *send_data)
 Send(multicast) message. More...
 
int messaging_recv_block (const char *port_name, msg_recv_buf_t *recv_buf)
 Wait to receive unicast message from specified message port. More...
 
int messaging_recv_nonblock (const char *port_name, msg_recv_buf_t *recv_buf, msg_callback_info_t *cb_info)
 Set the callback for receiving messages. More...
 
int messaging_cleanup (const char *port_name)
 Remove the messaging port information if this message port is not used anymore. More...