summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-18 13:34:01 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-18 13:34:01 +0300
commitaf2b008bab6923f8b9582e68686826825d9e29a9 (patch)
treec49b7145e0bee7b0bd8dea129d6cdb7cd17c990d /src/apk_database.h
parentfe41ae07b90bbd4609ee6871def851a41027aae8 (diff)
downloadapk-tools-af2b008bab6923f8b9582e68686826825d9e29a9.tar.gz
apk-tools-af2b008bab6923f8b9582e68686826825d9e29a9.tar.bz2
apk-tools-af2b008bab6923f8b9582e68686826825d9e29a9.tar.xz
apk-tools-af2b008bab6923f8b9582e68686826825d9e29a9.zip
fix, info, ver: perform wildcard matching
ref #511
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index d270e18..a47586b 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -87,16 +87,12 @@ struct apk_name {
struct apk_provider_array *providers;
struct apk_name_array *rdepends;
struct apk_name_array *rinstall_if;
+ unsigned int foreach_genid;
union {
struct apk_solver_name_state ss;
- struct {
- unsigned int foreach_genid;
- union {
- void *state_ptr;
- int state_int;
- };
- };
+ void *state_ptr;
+ int state_int;
};
};