diff options
Diffstat (limited to 'src/analysis/db/analyst.c')
-rw-r--r-- | src/analysis/db/analyst.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/analysis/db/analyst.c b/src/analysis/db/analyst.c index a828c11..87a60d3 100644 --- a/src/analysis/db/analyst.c +++ b/src/analysis/db/analyst.c @@ -82,10 +82,10 @@ static void g_analyst_client_finalize(GAnalystClient *); static void *g_analyst_client_update(GAnalystClient *); /* Met à jour la liste des instantanés courants. */ -static bool g_analyst_client_update_snapshots(GAnalystClient *, packed_buffer *); +static bool g_analyst_client_update_snapshots(GAnalystClient *, packed_buffer_t *); /* Met à jour l'identifiant de l'instantané courant. */ -static bool g_analyst_client_update_current_snapshot(GAnalystClient *, packed_buffer *); +static bool g_analyst_client_update_current_snapshot(GAnalystClient *, packed_buffer_t *); @@ -268,10 +268,10 @@ GAnalystClient *g_analyst_client_new(const char *hash, GList *collections) static void *g_analyst_client_update(GAnalystClient *client) { GHubClient *base; /* Base de l'instance */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ bool status; /* Bilan d'une opération */ struct pollfd fds[2]; /* Surveillance des flux */ - packed_buffer in_pbuf; /* Tampon de réception */ + packed_buffer_t in_pbuf; /* Tampon de réception */ int ret; /* Bilan d'un appel */ uint32_t tmp32; /* Valeur sur 32 bits */ uint32_t command; /* Commande de la requête */ @@ -499,7 +499,7 @@ static void *g_analyst_client_update(GAnalystClient *client) * * ******************************************************************************/ -static bool g_analyst_client_update_snapshots(GAnalystClient *client, packed_buffer *pbuf) +static bool g_analyst_client_update_snapshots(GAnalystClient *client, packed_buffer_t *pbuf) { bool result; /* Validité à retourner */ size_t i; /* Boucle de parcours */ @@ -578,7 +578,7 @@ static bool g_analyst_client_update_snapshots(GAnalystClient *client, packed_buf * * ******************************************************************************/ -static bool g_analyst_client_update_current_snapshot(GAnalystClient *client, packed_buffer *pbuf) +static bool g_analyst_client_update_current_snapshot(GAnalystClient *client, packed_buffer_t *pbuf) { bool result; /* Validité à retourner */ snapshot_id_t id; /* Identifiant d'instantané */ @@ -620,7 +620,7 @@ static bool g_analyst_client_update_current_snapshot(GAnalystClient *client, pac bool g_analyst_client_save(GAnalystClient *client) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ init_packed_buffer(&out_pbuf); @@ -664,7 +664,7 @@ bool g_analyst_client_save(GAnalystClient *client) bool g_analyst_client_add_item(GAnalystClient *client, const GDbItem *item) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ DBFeatures feature; /* Domaine de fonctionnalité */ GDbCollection *collec; /* Collection visée au final */ @@ -721,7 +721,7 @@ bool g_analyst_client_add_item(GAnalystClient *client, const GDbItem *item) bool g_analyst_client_set_last_active(GAnalystClient *client, timestamp_t timestamp) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ init_packed_buffer(&out_pbuf); @@ -846,7 +846,7 @@ bool g_analyst_client_get_current_snapshot(GAnalystClient *client, snapshot_id_t bool g_analyst_client_set_current_snapshot(GAnalystClient *client, const snapshot_id_t *id) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ init_packed_buffer(&out_pbuf); @@ -894,7 +894,7 @@ bool g_analyst_client_set_current_snapshot(GAnalystClient *client, const snapsho bool g_analyst_client_set_snapshot_name(GAnalystClient *client, const snapshot_id_t *id, const char *name) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ rle_string string; /* Chaîne à transmettre */ @@ -953,7 +953,7 @@ bool g_analyst_client_set_snapshot_name(GAnalystClient *client, const snapshot_i bool g_analyst_client_set_snapshot_desc(GAnalystClient *client, const snapshot_id_t *id, const char *desc) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ rle_string string; /* Chaîne à transmettre */ @@ -1011,7 +1011,7 @@ bool g_analyst_client_set_snapshot_desc(GAnalystClient *client, const snapshot_i bool g_analyst_client_restore_snapshot(GAnalystClient *client, const snapshot_id_t *id) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ init_packed_buffer(&out_pbuf); @@ -1057,7 +1057,7 @@ bool g_analyst_client_restore_snapshot(GAnalystClient *client, const snapshot_id bool g_analyst_client_create_snapshot(GAnalystClient *client) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ init_packed_buffer(&out_pbuf); @@ -1102,7 +1102,7 @@ bool g_analyst_client_create_snapshot(GAnalystClient *client) bool g_analyst_client_remove_snapshot(GAnalystClient *client, const snapshot_id_t *id, bool rec) { bool result; /* Bilan partiel à remonter */ - packed_buffer out_pbuf; /* Tampon d'émission */ + packed_buffer_t out_pbuf; /* Tampon d'émission */ SSL *tls_fd; /* Canal de communication SSL */ init_packed_buffer(&out_pbuf); |