1 |
/* IPC message queue defintions. |
/* IPC message queue defintions. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@rtmk.org. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
54 |
|
|
55 |
extern void ipc_mqueue_init (void); |
extern void ipc_mqueue_init (void); |
56 |
|
|
57 |
/* Create a new message queue for a port. Returns a new queue |
/* Create a new message queue for a port. */ |
|
with default queue limit, NULL if we can not allocate memory. */ |
|
58 |
|
|
59 |
extern struct ipc_mqueue *ipc_mqueue_create (void); |
extern void ipc_mqueue_create (struct ipc_mqueue *imq); |
60 |
|
|
61 |
/* Destroy message queue, releasing all messages on it. */ |
/* Destroy message queue, releasing all messages on it. */ |
62 |
|
|