Make SWID directory where tags are stored configurable

This commit is contained in:
Andreas Steffen
2013-09-05 12:25:02 +02:00
parent 9b8137fdd3
commit ae32172619
5 changed files with 14 additions and 7 deletions
+2 -4
View File
@@ -30,8 +30,6 @@
typedef struct private_swid_inventory_t private_swid_inventory_t;
#define SWID_TAG_DIRECTORY "/usr/share"
/**
* Private data of a swid_inventory_t object.
*
@@ -179,9 +177,9 @@ end:
}
METHOD(swid_inventory_t, collect, bool,
private_swid_inventory_t *this)
private_swid_inventory_t *this, char *directory)
{
return collect_tags(this, SWID_TAG_DIRECTORY);
return collect_tags(this, directory);
}
METHOD(swid_inventory_t, add, void,