db/update: convert to OO API

Move global variables into the new classes.  That may allow multiple
update threads for multiple databases one day.
This commit is contained in:
Max Kellermann
2014-01-29 20:16:43 +01:00
parent a31738f6f1
commit c6725884bc
29 changed files with 514 additions and 520 deletions

View File

@@ -29,6 +29,7 @@
class NeighborGlue;
#endif
class UpdateService;
class ClientList;
struct Partition;
@@ -42,6 +43,8 @@ struct Instance final
NeighborGlue *neighbors;
#endif
UpdateService *update;
ClientList *client_list;
Partition *partition;