////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002 Xilinx, Inc.  All rights reserved.
//
// Xilinx, Inc.
// XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A 
// COURTESY TO YOU.  BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS
// ONE POSSIBLE   IMPLEMENTATION OF THIS FEATURE, APPLICATION OR 
// STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION
// IS FREE FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE 
// FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION.  
// XILINX EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO 
// THE ADEQUACY OF THE IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO 
// ANY WARRANTIES OR REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE 
// FROM CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY 
// AND FITNESS FOR A PARTICULAR PURPOSE.
// 
// Date   : 2002, November.
// Author : Raj Nagarajan (rajn@xilinx.com)
// Company: Xilinx
// Group  : Emerging Software Technologies
//
// $Id :$
//
//////////////////////////////////////////////////////////////////////////////

/***************************************************************************/
/**
 * @file ipc.h
 *
 * This contains the #defines related to IPC routines. Used by Message Q
 * and Shared Memory
 ***************************************************************************/
#ifndef _IPC_H
#define _IPC_H

/**
 * @name IPC Flags
 * @{
 */
/**
 * Create a new IPC for the key. If IPC exists then return the IPC ID
 */
#define IPC_CREAT	1
/**
 * Create a new IPC for the key. If IPC existes the return Error
 */
#define IPC_EXCL	2
#define IPC_STAT	3	/**< Return the IPC Status */
#define IPC_RMID	4	/**< Destroy the IPC and release resources */
#define IPC_NOWAIT	5	/**< Bo not block the process for resources */
#define IPC_BLOCKED     6      /**< special flag for retrying when blocked */
/*@}*/

#endif 
