1/* BEGIN LICENSE BLOCK
2 * Version: CMPL 1.1
3 *
4 * The contents of this file are subject to the Cisco-style Mozilla Public
5 * License Version 1.1 (the "License"); you may not use this file except
6 * in compliance with the License.  You may obtain a copy of the License
7 * at www.eclipse-clp.org/license.
8 *
9 * Software distributed under the License is distributed on an "AS IS"
10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
11 * the License for the specific language governing rights and limitations
12 * under the License.
13 *
14 * The Original Code is  The ECLiPSe Constraint Logic Programming System.
15 * The Initial Developer of the Original Code is  Cisco Systems, Inc.
16 * Portions created by the Initial Developer are
17 * Copyright (C) 1994-2006 Cisco Systems, Inc.  All Rights Reserved.
18 *
19 * Contributor(s): Kees Schuerman, ECRC
20 *
21 * END LICENSE BLOCK */
22/**********************************************************************
23**      System: Parallel Distributed System
24**        File: pds.error.h
25**      Author: Kees Schuerman
26**      SccsId: "@(#)pds.error.h	1.2 8/31/95"
27***********************************************************************/
28
29#ifndef _PDS_ERROR_H_
30#define _PDS_ERROR_H_
31
32
33/*
34** Return Codes
35*/
36
37#define PDS_OK                 0       /* success                 */
38#define PDS_NYI                1       /* not yet implemented     */
39#define PDS_WARN               2       /* general warning         */
40#define PDS_ERROR              3       /* general error           */
41#define PDS_IMPLIM             4       /* implementation limit    */
42#define PDS_INVAL              5       /* invalid argument        */
43#define PDS_NORESOURCES        6       /* no resources            */
44#define PDS_NOMEMORY           7       /* no memory               */
45#define PDS_NOT_READY          8       /* not ready               */
46#define PDS_NOF_RETS	       9
47#define PDS_RET_MAX          127
48
49
50#if defined(__STDC__)
51extern void pds_perror(pds_ret_t pret, char * s);
52#else /* __STDC__ */
53extern void pds_perror();
54#endif /* __STDC__ */
55
56
57#endif /* _PDS_ERROR_H_ */
58