©2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c7/smi_mq.h

Go to the documentation of this file.
00001 #ifndef _SMI_MQ_H_
00002 #define _SMI_MQ_H_
00003 
00004 /* simplified test to avoid testing _POSIX_VERSION */
00005 /* fails to handle undefined case properly, but version independent */
00006 /* However, Linux (and probably other systems) don't handle the
00007    undefined case correctly anyway! */
00008 #if defined(_POSIX_MESSAGE_PASSING) && _POSIX_MESSAGE_PASSING != -1
00009 #define COMPILES_POSIX_MESSAGE_PASSING
00010 #endif
00011 
00012 #include "smi.h"
00013 
00014 /*
00015     Simple Messaging Interface - POSIX msg version
00016 */
00017 SMIQ *smi_open_mq(const char *name, SMIENTITY entity, size_t msgsize);
00018 bool smi_close_mq(SMIQ *sqp);
00019 bool smi_send_getaddr_mq(SMIQ *sqp, struct client_id *client,
00020   void **addr);
00021 bool smi_send_release_mq(SMIQ *sqp);
00022 bool smi_receive_getaddr_mq(SMIQ *sqp, void **addr);
00023 bool smi_receive_release_mq(SMIQ *sqp);
00024 
00025 #endif /* _SMI_MQ_H_ */

Generated on Fri Apr 23 10:56:59 2004 for AUP2 Example Source by doxygen 1.3.1