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/switcher.c | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/analysis/db/items/switcher.c')
-rw-r--r-- | src/analysis/db/items/switcher.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/db/items/switcher.c b/src/analysis/db/items/switcher.c index 090b8ce..885406c 100644 --- a/src/analysis/db/items/switcher.c +++ b/src/analysis/db/items/switcher.c @@ -84,10 +84,10 @@ static gboolean g_db_switcher_cmp_key(const GDbSwitcher *, const GDbSwitcher *); static gint g_db_switcher_cmp(const GDbSwitcher *, const GDbSwitcher *); /* Importe la définition d'un signet depuis un flux réseau. */ -static bool g_db_switcher_unpack(GDbSwitcher *, packed_buffer *); +static bool g_db_switcher_unpack(GDbSwitcher *, packed_buffer_t *); /* Exporte la définition d'un signet dans un flux réseau. */ -static bool g_db_switcher_pack(const GDbSwitcher *, packed_buffer *); +static bool g_db_switcher_pack(const GDbSwitcher *, packed_buffer_t *); /* Construit la description humaine d'un signet sur un tampon. */ static char *g_db_switcher_build_label(GDbSwitcher *); @@ -448,7 +448,7 @@ static gint g_db_switcher_cmp(const GDbSwitcher *a, const GDbSwitcher *b) * * ******************************************************************************/ -static bool g_db_switcher_unpack(GDbSwitcher *switcher, packed_buffer *pbuf) +static bool g_db_switcher_unpack(GDbSwitcher *switcher, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ uint32_t tmp32; /* Valeur sur 32 bits */ @@ -489,7 +489,7 @@ static bool g_db_switcher_unpack(GDbSwitcher *switcher, packed_buffer *pbuf) * * ******************************************************************************/ -static bool g_db_switcher_pack(const GDbSwitcher *switcher, packed_buffer *pbuf) +static bool g_db_switcher_pack(const GDbSwitcher *switcher, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ |