2003-03-17 19:24:38 +00:00
|
|
|
#ifdef HAVE_SYS_TYPES_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
#endif
|
|
|
|
#ifdef HAVE_SYS_IPC_H
|
|
|
|
#include <sys/ipc.h>
|
|
|
|
#endif
|
|
|
|
#ifdef HAVE_SYS_MSG_H
|
2003-03-13 21:20:33 +00:00
|
|
|
#include <sys/msg.h>
|
2003-03-17 19:24:38 +00:00
|
|
|
#endif
|
2003-03-13 21:20:33 +00:00
|
|
|
|
|
|
|
extern int create_message_queue(key_t);
|
|
|
|
extern int receive_message(key_t,void*,size_t,bool);
|
|
|
|
extern int send_message(key_t,void*,size_t,bool);
|
|
|
|
extern int destroy_message_queue(key_t);
|