|
0
|
1 #ifndef CYGONCE_PKGCONF_ERROR_H |
|
|
2 #define CYGONCE_PKGCONF_ERROR_H |
|
|
3 //=========================================================================== |
|
|
4 // |
|
|
5 // error.h |
|
|
6 // |
|
|
7 // Configuration header for the Common error code package |
|
|
8 // |
|
|
9 //=========================================================================== |
|
|
10 //####COPYRIGHTBEGIN#### |
|
|
11 // |
|
|
12 // ------------------------------------------- |
|
|
13 // The contents of this file are subject to the Cygnus eCos Public License |
|
|
14 // Version 1.0 (the "License"); you may not use this file except in |
|
|
15 // compliance with the License. You may obtain a copy of the License at |
|
|
16 // http://sourceware.cygnus.com/ecos |
|
|
17 // |
|
|
18 // Software distributed under the License is distributed on an "AS IS" |
|
|
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
|
20 // License for the specific language governing rights and limitations under |
|
|
21 // the License. |
|
|
22 // |
|
|
23 // The Original Code is eCos - Embedded Cygnus Operating System, released |
|
|
24 // September 30, 1998. |
|
|
25 // |
|
|
26 // The Initial Developer of the Original Code is Cygnus. Portions created |
|
2
|
27 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. |
|
0
|
28 // ------------------------------------------- |
|
|
29 // |
|
|
30 //####COPYRIGHTEND#### |
|
|
31 //=========================================================================== |
|
|
32 //#####DESCRIPTIONBEGIN#### |
|
|
33 // |
|
2
|
34 // Author(s): jlarmour |
|
|
35 // Contributors: jlarmour |
|
0
|
36 // Date: 1998-06-11 |
|
|
37 // Purpose: To configure the Common error package |
|
|
38 // Description: Does any necessary configuration of the Common error package |
|
|
39 // Usage: #include <pkgconf/error.h> |
|
|
40 // #ifdef CYGPKG_ERROR |
|
|
41 // ... |
|
|
42 // |
|
|
43 // |
|
|
44 //####DESCRIPTIONEND#### |
|
|
45 // |
|
|
46 //=========================================================================== |
|
|
47 |
|
|
48 // INCLUDES |
|
|
49 |
|
|
50 // Include system configuration file to work out whether the Common error |
|
|
51 // package is to be included at all (from CYGPKG_ERROR) |
|
|
52 #include <pkgconf/system.h> |
|
|
53 |
|
|
54 /* |
|
|
55 {{CFG_DATA |
|
|
56 |
|
|
57 cdl_package CYGPKG_ERROR { |
|
|
58 display "Common error code support" |
|
|
59 description "This package contains the common list of error and |
|
|
60 status codes. It is held centrally to allow |
|
|
61 packages to interchange error codes and status |
|
|
62 codes in a common way, rather than each package |
|
|
63 having its own conventions for error/status |
|
|
64 reporting. The error codes are modelled on the |
|
|
65 POSIX style naming e.g. EINVAL etc. This package |
|
|
66 also provides the standard strerror() function to |
|
|
67 convert error codes to textual representation." |
|
2
|
68 doc ref/ecos-ref/p-cygpkg-error.html |
|
0
|
69 type bool |
|
|
70 } |
|
|
71 |
|
|
72 }}CFG_DATA |
|
|
73 */ |
|
|
74 |
|
|
75 |
|
|
76 #endif // CYGONCE_PKGCONF_ERROR_H multiple inclusion protection |
|
|
77 |
|
|
78 // EOF error.h |