package daemon: De/-activate all changed packages together

* We first process the node monitoring events, collecting the required
  package activation changes, then apply all changes together.
* Change the PackageFSActivationChangeItem/-Request structs. The former
  is no longer variable in size, which makes it easier to work with.
This commit is contained in:
Ingo Weinhold
2013-04-08 19:06:18 +02:00
parent ebbefc0151
commit a6c7f5e33c
5 changed files with 187 additions and 165 deletions
+3 -1
View File
@@ -79,7 +79,9 @@ struct PackageFSActivationChangeItem {
uint32 nameLength;
dev_t parentDeviceID;
ino_t parentDirectoryID;
char name[1];
char* name;
// must point to a location within the
// request
};
struct PackageFSActivationChangeRequest {