RTEMS  5.1
message.h
Go to the documentation of this file.
1 
9 /* COPYRIGHT (c) 1989-2013.
10  * On-Line Applications Research Corporation (OAR).
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  * http://www.rtems.org/license/LICENSE.
15  */
16 
17 #ifndef _RTEMS_RTEMS_MESSAGE_H
18 #define _RTEMS_RTEMS_MESSAGE_H
19 
20 #include <rtems/rtems/attr.h>
21 #include <rtems/rtems/options.h>
22 #include <rtems/rtems/status.h>
23 #include <rtems/rtems/types.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
61  rtems_name name,
62  uint32_t count,
63  size_t max_message_size,
64  rtems_attribute attribute_set,
65  rtems_id *id
66 );
67 
87  rtems_name name,
88  uint32_t node,
89  rtems_id *id
90 );
91 
103  rtems_id id
104 );
105 
130  rtems_id id,
131  const void *buffer,
132  size_t size
133 );
134 
151  rtems_id id,
152  const void *buffer,
153  size_t size
154 );
155 
173  rtems_id id,
174  const void *buffer,
175  size_t size,
176  uint32_t *count
177 );
178 
203  rtems_id id,
204  void *buffer,
205  size_t *size,
206  rtems_option option_set,
207  rtems_interval timeout
208 );
209 
221  rtems_id id,
222  uint32_t *count
223 );
224 
236  rtems_id id,
237  uint32_t *count
238 );
239 
242 #ifdef __cplusplus
243 }
244 #endif
245 
246 #endif
247 /* end of include file */
rtems_status_code rtems_message_queue_create(rtems_name name, uint32_t count, size_t max_message_size, rtems_attribute attribute_set, rtems_id *id)
RTEMS Create Message Queue.
Definition: msgqcreate.c:34
uint32_t rtems_attribute
Definition: attr.h:41
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
rtems_status_code rtems_message_queue_urgent(rtems_id id, const void *buffer, size_t size)
RTEMS Urgent Message Queue.
Definition: msgqurgent.c:24
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
rtems_status_code
Classic API Status.
Definition: status.h:43
rtems_status_code rtems_message_queue_flush(rtems_id id, uint32_t *count)
rtems_message_queue_flush
Definition: msgqflush.c:24
rtems_status_code rtems_message_queue_receive(rtems_id id, void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout)
Receives a message from the message queue.
Definition: msgqreceive.c:31
uint32_t rtems_option
Definition: options.h:42
rtems_status_code rtems_message_queue_broadcast(rtems_id id, const void *buffer, size_t size, uint32_t *count)
RTEMS Broadcast Message Queue.
Definition: msgqbroadcast.c:24
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
rtems_status_code rtems_message_queue_delete(rtems_id id)
RTEMS Delete Message Queue.
Definition: msgqdelete.c:24
rtems_status_code rtems_message_queue_get_number_pending(rtems_id id, uint32_t *count)
RTEMS Message Queue Get Number Pending.
Definition: msgqgetnumberpending.c:24
unsigned size
Definition: tte.h:74
rtems_status_code rtems_message_queue_ident(rtems_name name, uint32_t node, rtems_id *id)
RTEMS Message Queue Name to Id.
Definition: msgqident.c:32
rtems_status_code rtems_message_queue_send(rtems_id id, const void *buffer, size_t size)
Sends a message to the message queue.
Definition: msgqsend.c:25