From 565fe4aee68897928f140fe5df59eb523fad0bb0 Mon Sep 17 00:00:00 2001 From: Keith Marshall Date: Mon, 1 Mar 2010 22:34:19 +0000 Subject: [PATCH] Extend package name search to include component packages. --- ChangeLog | 3 +++ src/pkgkeys.c | 1 + src/pkgkeys.h | 1 + 3 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index d9a6675..d0fe6e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ within package definition elements, seeking a potential match on an included component package name or component class-implied name. + * src/pkgkeys.h (class_key): New global string constant; declare it. + * src/pkgkeys.c (class_key): Implement it. + 2010-02-16 Keith Marshall Bump version for next release cycle. diff --git a/src/pkgkeys.c b/src/pkgkeys.c index 63fe90a..535d9c8 100644 --- a/src/pkgkeys.c +++ b/src/pkgkeys.c @@ -28,6 +28,7 @@ const char *alias_key = "alias"; const char *application_key = "application"; const char *catalogue_key = "catalogue"; +const char *class_key = "class"; const char *component_key = "component"; const char *dirname_key = "dir"; const char *download_key = "download"; diff --git a/src/pkgkeys.h b/src/pkgkeys.h index b90ebcf..0ca4225 100644 --- a/src/pkgkeys.h +++ b/src/pkgkeys.h @@ -39,6 +39,7 @@ EXTERN_C_DECL const char *alias_key; EXTERN_C_DECL const char *application_key; EXTERN_C_DECL const char *catalogue_key; +EXTERN_C_DECL const char *class_key; EXTERN_C_DECL const char *component_key; EXTERN_C_DECL const char *dirname_key; EXTERN_C_DECL const char *download_key; -- 2.11.0