diff options
Diffstat (limited to 'src/analysis/db/client.h')
-rw-r--r-- | src/analysis/db/client.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/analysis/db/client.h b/src/analysis/db/client.h index 9a95163..0ec40e6 100644 --- a/src/analysis/db/client.h +++ b/src/analysis/db/client.h @@ -30,9 +30,6 @@ #include <openssl/ssl.h> -#include "collection.h" -#include "misc/snapshot.h" - #define G_TYPE_HUB_CLIENT g_hub_client_get_type() @@ -53,9 +50,6 @@ typedef struct _GHubClientClass GHubClientClass; /* Indique le type défini pour une description de client à l'écoute. */ GType g_hub_client_get_type(void); -/* Prépare un client pour une connexion à une BD. */ -GHubClient *g_hub_client_new(const char *, GList *); - /* Démarre la connexion à la base de données interne. */ bool g_hub_client_start_internal(GHubClient *); @@ -65,39 +59,6 @@ bool g_hub_client_start_remote(GHubClient *, const char *, const char *, bool); /* Arrête la connexion à la base de données. */ void g_hub_client_stop(GHubClient *); -/* Effectue une demande de sauvegarde de l'état courant. */ -bool g_hub_client_save(GHubClient *); - -/* Ajoute un élément à la collection d'un serveur. */ -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 la liste des instantanés existants. */ -bool g_hub_client_get_snapshots(GHubClient *, snapshot_info_t **, size_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 *); - -/* Définit la désignation d'un instantané donné. */ -bool g_hub_client_set_snapshot_name(GHubClient *, const snapshot_id_t *, const char *); - -/* Définit la description d'un instantané donné. */ -bool g_hub_client_set_snapshot_desc(GHubClient *, const snapshot_id_t *, const char *); - -/* Restaure un ancien instantané. */ -bool g_hub_client_restore_snapshot(GHubClient *, const snapshot_id_t *); - -/* Crée un nouvel instantané à partir d'un autre. */ -bool g_hub_client_create_snapshot(GHubClient *); - -/* Supprime un ancien instantané. */ -bool g_hub_client_remove_snapshot(GHubClient *, const snapshot_id_t *, bool); - #endif /* _ANALYSIS_DB_CLIENT_H */ |