OSDN Git Service

9f5342c4be93861448588c6c393b8a17fd4f965a
[mingw/mingw-get.git] / src / pkgkeys.h
1 #ifndef PKGKEYS_H
2 /*
3  * pkgkeys.h
4  *
5  * $Id$
6  *
7  * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
8  * Copyright (C) 2010, MinGW Project
9  *
10  *
11  * Public declarations of the global definitions for the string
12  * constants which are used as keys in the XML database.
13  *
14  *
15  * This is free software.  Permission is granted to copy, modify and
16  * redistribute this software, under the provisions of the GNU General
17  * Public License, Version 3, (or, at your option, any later version),
18  * as published by the Free Software Foundation; see the file COPYING
19  * for licensing details.
20  *
21  * Note, in particular, that this software is provided "as is", in the
22  * hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not
23  * even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY
24  * PARTICULAR PURPOSE.  Under no circumstances will the author, or the
25  * MinGW Project, accept liability for any damages, however caused,
26  * arising from the use of this software.
27  *
28  */
29 #define PKGKEYS_H  1
30
31 #ifndef EXTERN_C_DECL
32 # ifdef __cplusplus
33 #  define EXTERN_C_DECL  extern "C"
34 # else
35 #  define EXTERN_C_DECL  extern
36 # endif
37 #endif
38
39 EXTERN_C_DECL const char *alias_key;
40 EXTERN_C_DECL const char *application_key;
41 EXTERN_C_DECL const char *catalogue_key;
42 EXTERN_C_DECL const char *class_key;
43 EXTERN_C_DECL const char *component_key;
44 EXTERN_C_DECL const char *defaults_key;
45 EXTERN_C_DECL const char *dirname_key;
46 EXTERN_C_DECL const char *download_key;
47 EXTERN_C_DECL const char *download_host_key;
48 EXTERN_C_DECL const char *eq_key;
49 EXTERN_C_DECL const char *filename_key;
50 EXTERN_C_DECL const char *ge_key;
51 EXTERN_C_DECL const char *gt_key;
52 EXTERN_C_DECL const char *id_key;
53 EXTERN_C_DECL const char *installed_key;
54 EXTERN_C_DECL const char *issue_key;
55 EXTERN_C_DECL const char *le_key;
56 EXTERN_C_DECL const char *lt_key;
57 EXTERN_C_DECL const char *manifest_key;
58 EXTERN_C_DECL const char *mirror_key;
59 EXTERN_C_DECL const char *modified_key;
60 EXTERN_C_DECL const char *name_key;
61 EXTERN_C_DECL const char *package_key;
62 EXTERN_C_DECL const char *package_collection_key;
63 EXTERN_C_DECL const char *package_list_key;
64 EXTERN_C_DECL const char *pathname_key;
65 EXTERN_C_DECL const char *profile_key;
66 EXTERN_C_DECL const char *reference_key;
67 EXTERN_C_DECL const char *release_key;
68 EXTERN_C_DECL const char *repository_key;
69 EXTERN_C_DECL const char *requires_key;
70 EXTERN_C_DECL const char *source_key;
71 EXTERN_C_DECL const char *subsystem_key;
72 EXTERN_C_DECL const char *sysmap_key;
73 EXTERN_C_DECL const char *sysroot_key;
74 EXTERN_C_DECL const char *tarname_key;
75 EXTERN_C_DECL const char *uri_key;
76
77 /* Some standard values, which may be associated with certain
78  * of the above XML database keys.
79  */
80 #define yes_value         value_yes
81 #define no_value          value_no
82
83 EXTERN_C_DECL const char *value_no;
84 EXTERN_C_DECL const char *value_none;
85 EXTERN_C_DECL const char *value_unknown;
86 EXTERN_C_DECL const char *value_virtual;
87 EXTERN_C_DECL const char *value_yes;
88
89 #endif /* PKGKEYS_H: $RCSfile$: end of file */