diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-06-01 22:32:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-06-01 22:32:50 (GMT) |
commit | 9eab0a0903303d3c93872e7e4b6b1cb774b69b03 (patch) | |
tree | ae8594cae830118ca3a92ee60242490e58c14a9e /src/analysis/db/items/comment.c | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/analysis/db/items/comment.c')
-rw-r--r-- | src/analysis/db/items/comment.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/db/items/comment.c b/src/analysis/db/items/comment.c index bdff3a6..da7a4c0 100644 --- a/src/analysis/db/items/comment.c +++ b/src/analysis/db/items/comment.c @@ -94,10 +94,10 @@ static gboolean g_db_comment_cmp_key(const GDbComment *, const GDbComment *); static gint g_db_comment_cmp(const GDbComment *, const GDbComment *); /* Importe la définition d'un commentaire dans un flux réseau. */ -static bool g_db_comment_unpack(GDbComment *, packed_buffer *); +static bool g_db_comment_unpack(GDbComment *, packed_buffer_t *); /* Exporte la définition d'un commentaire dans un flux réseau. */ -static bool g_db_comment_pack(GDbComment *, packed_buffer *); +static bool g_db_comment_pack(GDbComment *, packed_buffer_t *); /* Construit la description humaine d'un commentaire. */ static char *g_db_comment_build_label(GDbComment *); @@ -570,7 +570,7 @@ static gint g_db_comment_cmp(const GDbComment *a, const GDbComment *b) * * ******************************************************************************/ -static bool g_db_comment_unpack(GDbComment *comment, packed_buffer *pbuf) +static bool g_db_comment_unpack(GDbComment *comment, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ uint8_t tmp8; /* Valeur sur 8 bits */ @@ -623,7 +623,7 @@ static bool g_db_comment_unpack(GDbComment *comment, packed_buffer *pbuf) * * ******************************************************************************/ -static bool g_db_comment_pack(GDbComment *comment, packed_buffer *pbuf) +static bool g_db_comment_pack(GDbComment *comment, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ rle_string text; /* Texte brut récupéré */ |