diff options
Diffstat (limited to 'src/analysis/db/client.c')
-rw-r--r-- | src/analysis/db/client.c | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/analysis/db/client.c b/src/analysis/db/client.c index 9558f85..b4e856f 100644 --- a/src/analysis/db/client.c +++ b/src/analysis/db/client.c @@ -1569,3 +1569,76 @@ bool g_hub_client_set_snapshot_desc(GHubClient *client, const snapshot_id_t *id, return result; } + + +/****************************************************************************** +* * +* Paramètres : client = client pour les accès distants à manipuler. * +* id = identifiant d'instantané à traiter. * +* * +* Description : Restaure un ancien instantané. * +* * +* Retour : true si la commande a bien été envoyée, false sinon. * +* * +* Remarques : - * +* * +******************************************************************************/ + +bool g_hub_client_restore_snapshot(GHubClient *client, const snapshot_id_t *id) +{ + bool result; /* Bilan à retourner */ + + result = false; + + return result; + +} + + +/****************************************************************************** +* * +* Paramètres : client = client pour les accès distants à manipuler. * +* id = identifiant d'instantané à traiter. * +* * +* Description : Crée un nouvel instantané à partir d'un autre. * +* * +* Retour : true si la commande a bien été envoyée, false sinon. * +* * +* Remarques : - * +* * +******************************************************************************/ + +bool g_hub_client_create_snapshot(GHubClient *client, const snapshot_id_t *id) +{ + bool result; /* Bilan à retourner */ + + result = false; + + return result; + +} + + +/****************************************************************************** +* * +* Paramètres : client = client pour les accès distants à manipuler. * +* id = identifiant d'instantané à traiter. * +* rec = programme une suppression récursive. * +* * +* Description : Supprime un ancien instantané. * +* * +* Retour : true si la commande a bien été envoyée, false sinon. * +* * +* Remarques : - * +* * +******************************************************************************/ + +bool g_hub_client_remove_snapshot(GHubClient *client, const snapshot_id_t *id, bool rec) +{ + bool result; /* Bilan à retourner */ + + result = false; + + return result; + +} |