RTEMS  5.0.0
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 
122  rtems_id id,
123  const void *buffer,
124  size_t size
125 );
126 
143  rtems_id id,
144  const void *buffer,
145  size_t size
146 );
147 
165  rtems_id id,
166  const void *buffer,
167  size_t size,
168  uint32_t *count
169 );
170 
193  rtems_id id,
194  void *buffer,
195  size_t *size,
196  rtems_option option_set,
197  rtems_interval timeout
198 );
199 
211  rtems_id id,
212  uint32_t *count
213 );
214 
226  rtems_id id,
227  uint32_t *count
228 );
229 
232 #ifdef __cplusplus
233 }
234 #endif
235 
236 #endif
237 /* 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:23
rtems_status_code rtems_message_queue_receive(rtems_id id, void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout)
RTEMS Message Queue Receive.
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:23
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)
rtems_message_queue_send
Definition: msgqsend.c:24