summaryrefslogtreecommitdiff
path: root/Master/tlpkg/lib/C/tlp-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/lib/C/tlp-config.c')
-rw-r--r--Master/tlpkg/lib/C/tlp-config.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/tlpkg/lib/C/tlp-config.c b/Master/tlpkg/lib/C/tlp-config.c
new file mode 100644
index 00000000000..aa164dfd6d2
--- /dev/null
+++ b/Master/tlpkg/lib/C/tlp-config.c
@@ -0,0 +1,33 @@
+/* tlp-config.c - module exporting configuration stuff
+ *
+ * Copyright 2007 Jjgod Jiang
+ * Derived from the Perl implementation by Norbert Preining
+ *
+ * This file is licensed under the GNU General Public License version 2
+ * or any later version. */
+
+#include <stdlib.h>
+
+#define TLP_META_CATEGORIES "Collection", "Scheme"
+#define TLP_NORMAL_CATEGORIES "Package", "TLCore", "Documentation"
+
+const char *_tlp_meta_categories[] = {
+ TLP_META_CATEGORIES,
+ NULL
+};
+
+const char *_tlp_normal_categories[] = {
+ TLP_NORMAL_CATEGORIES,
+ NULL
+};
+
+const char *_tlp_categories[] = {
+ TLP_META_CATEGORIES,
+ TLP_NORMAL_CATEGORIES,
+ NULL
+};
+
+const char **tlp_meta_categories = _tlp_meta_categories;
+const char **tlp_normal_categories = _tlp_normal_categories;
+const char **tlp_categories = _tlp_categories;
+