summaryrefslogtreecommitdiff
path: root/src/analysis/db/cdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db/cdb.c')
-rw-r--r--src/analysis/db/cdb.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/analysis/db/cdb.c b/src/analysis/db/cdb.c
index 8d589b3..d2997c7 100644
--- a/src/analysis/db/cdb.c
+++ b/src/analysis/db/cdb.c
@@ -153,13 +153,13 @@ static void _g_cdb_archive_remove_client(GCdbArchive *, size_t);
static void g_cdb_archive_remove_client(GCdbArchive *, size_t);
/* Envoie un paquet de données constitué à tous les clients. */
-static void g_cdb_archive_send_reply_to_all_clients(GCdbArchive *, packed_buffer *);
+static void g_cdb_archive_send_reply_to_all_clients(GCdbArchive *, packed_buffer_t *);
/* Envoie à tous les clients la nouvelle liste d'instantanés. */
-static bool g_cdb_archive_send_snapshot_update(GCdbArchive *, packed_buffer *);
+static bool g_cdb_archive_send_snapshot_update(GCdbArchive *, packed_buffer_t *);
/* Envoie à tous les clients le nouvel instantané courant. */
-static bool g_cdb_archive_send_snapshot_change(GCdbArchive *, packed_buffer *);
+static bool g_cdb_archive_send_snapshot_change(GCdbArchive *, packed_buffer_t *);
@@ -797,7 +797,7 @@ static void g_cdb_archive_register_signals(GCdbArchive *archive)
static void on_collection_extended(GDbCollection *collec, GDbItem *item, GCdbArchive *archive)
{
- packed_buffer pbuf; /* Tampon d'émission */
+ packed_buffer_t pbuf; /* Tampon d'émission */
size_t i; /* Boucle de parcours */
bool status; /* Bilan d'un envoi de retour */
@@ -842,12 +842,12 @@ static void *g_cdb_archive_process(GCdbArchive *archive)
nfds_t nfds; /* Quantité de ces flux */
nfds_t i; /* Boucle de parcours */
int ret; /* Bilan d'un appel */
- packed_buffer in_pbuf; /* Tampon de réception */
+ packed_buffer_t in_pbuf; /* Tampon de réception */
uint32_t tmp32; /* Valeur sur 32 bits */
bool status; /* Bilan de lecture initiale */
uint32_t command; /* Commande de la requête */
DBError error; /* Bilan d'une opération */
- packed_buffer out_pbuf; /* Tampon d'émission */
+ packed_buffer_t out_pbuf; /* Tampon d'émission */
GDbCollection *collec; /* Collection visée au final */
bool reload; /* Besoin de rechargement */
char *msg; /* Erreur à faire remonter */
@@ -1327,7 +1327,7 @@ static void g_cdb_archive_remove_client(GCdbArchive *archive, size_t index)
* *
******************************************************************************/
-static void g_cdb_archive_send_reply_to_all_clients(GCdbArchive *archive, packed_buffer *pbuf)
+static void g_cdb_archive_send_reply_to_all_clients(GCdbArchive *archive, packed_buffer_t *pbuf)
{
size_t i; /* Boucle de parcours */
bool status; /* Bilan d'une émission */
@@ -1366,11 +1366,11 @@ static void g_cdb_archive_send_reply_to_all_clients(GCdbArchive *archive, packed
* *
******************************************************************************/
-static bool g_cdb_archive_send_snapshot_update(GCdbArchive *archive, packed_buffer *pbuf)
+static bool g_cdb_archive_send_snapshot_update(GCdbArchive *archive, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */
bool do_send; /* Réalisation de l'émission */
- packed_buffer out_pbuf; /* Tampon d'émission */
+ packed_buffer_t out_pbuf; /* Tampon d'émission */
do_send = (pbuf == NULL);
@@ -1415,11 +1415,11 @@ static bool g_cdb_archive_send_snapshot_update(GCdbArchive *archive, packed_buff
* *
******************************************************************************/
-static bool g_cdb_archive_send_snapshot_change(GCdbArchive *archive, packed_buffer *pbuf)
+static bool g_cdb_archive_send_snapshot_change(GCdbArchive *archive, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */
bool do_send; /* Réalisation de l'émission */
- packed_buffer out_pbuf; /* Tampon d'émission */
+ packed_buffer_t out_pbuf; /* Tampon d'émission */
snapshot_id_t id; /* Identifiant d'instantané */
do_send = (pbuf == NULL);