queue.h File Reference


Detailed Description

This file is part of the RTAI project.

Note:
Copyright (C) 2004 Philippe Gerum <rpm@xenomai.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

As a special exception, the RTAI project gives permission for additional uses of the text contained in its release of Xenomai.

The exception is that, if you link the Xenomai libraries with other files to produce an executable, this does not by itself cause the resulting executable to be covered by the GNU General Public License. Your use of that executable is in no way restricted on account of linking the Xenomai libraries code into it.

This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License.

This exception applies only to the code released by the RTAI project under the name Xenomai. If you copy code from other RTAI project releases into a copy of Xenomai, as the General Public License permits, the exception does not apply to the code that you add in this way. To avoid misleading anyone as to the status of such modified files, you must delete this exception notice from them.

If you write modifications of your own for Xenomai, it is your choice whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice.

Include dependency graph for queue.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int rt_queue_bind (RT_QUEUE *q, const char *name)
 Bind to a shared message queue.
int rt_queue_unbind (RT_QUEUE *q)
 Unbind from a shared message queue.
int rt_queue_create (RT_QUEUE *q, const char *name, size_t poolsize, size_t qlimit, int mode)
 Create a message queue.
int rt_queue_delete (RT_QUEUE *q)
 Delete a message queue.
void * rt_queue_alloc (RT_QUEUE *q, size_t size)
 Allocate a message queue buffer.
int rt_queue_free (RT_QUEUE *q, void *buf)
 Free a message queue buffer.
int rt_queue_send (RT_QUEUE *q, void *buf, size_t size, int mode)
 Send a message to a queue.
ssize_t rt_queue_recv (RT_QUEUE *q, void **bufp, RTIME timeout)
 Receive a message from a queue.
int rt_queue_inquire (RT_QUEUE *q, RT_QUEUE_INFO *info)
 Inquire about a message queue.


Generated on Mon Dec 13 09:49:49 2004 for RTAI API by  doxygen 1.3.9.1