diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-10-13 23:24:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-10-13 23:24:57 (GMT) |
commit | f439711a77e0719e7f1dcf4b5c5511157986c918 (patch) | |
tree | cac0cf37be2676fcf2dc958f9d9fd2fadea20653 /src/analysis/db/client.h | |
parent | 986125d4c2d8b049017b6d0770f16b9058076165 (diff) |
Retrieved the current snapshot identifier from servers.
Diffstat (limited to 'src/analysis/db/client.h')
-rw-r--r-- | src/analysis/db/client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/analysis/db/client.h b/src/analysis/db/client.h index f7f7bcb..36d24e6 100644 --- a/src/analysis/db/client.h +++ b/src/analysis/db/client.h @@ -31,6 +31,7 @@ #include "collection.h" +#include "misc/snapshot.h" @@ -73,6 +74,12 @@ bool g_hub_client_add_item(GHubClient *, const GDbItem *); /* Active les éléments en amont d'un horodatage donné. */ bool g_hub_client_set_last_active(GHubClient *, timestamp_t); +/* Fournit l'identifiant de l'instantané courant. */ +bool g_hub_client_get_current_snapshot(GHubClient *, snapshot_id_t *); + +/* Définit l'identifiant de l'instantané courant. */ +bool g_hub_client_set_current_snapshot(GHubClient *, const snapshot_id_t *); + #endif /* _ANALYSIS_DB_CLIENT_H */ |