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/glibext | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/gbinarycursor.c | 8 | ||||
-rw-r--r-- | src/glibext/glinecursor-int.h | 4 | ||||
-rw-r--r-- | src/glibext/glinecursor.c | 4 | ||||
-rw-r--r-- | src/glibext/glinecursor.h | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/src/glibext/gbinarycursor.c b/src/glibext/gbinarycursor.c index 11ecddc..5308fdf 100644 --- a/src/glibext/gbinarycursor.c +++ b/src/glibext/gbinarycursor.c @@ -85,10 +85,10 @@ static void g_binary_cursor_show_status(const GBinaryCursor *, GtkStatusStack *, /* Exporte la définition d'un emplacement dans un flux réseau. */ -static bool g_binary_cursor_serialize(const GBinaryCursor *, packed_buffer *); +static bool g_binary_cursor_serialize(const GBinaryCursor *, packed_buffer_t *); /* Importe la définition d'un emplacement depuis un flux réseau. */ -static bool g_binary_cursor_unserialize(GBinaryCursor *, packed_buffer *); +static bool g_binary_cursor_unserialize(GBinaryCursor *, packed_buffer_t *); @@ -496,7 +496,7 @@ void g_binary_cursor_retrieve(const GBinaryCursor *cursor, vmpa2t *addr) * * ******************************************************************************/ -static bool g_binary_cursor_serialize(const GBinaryCursor *cursor, packed_buffer *pbuf) +static bool g_binary_cursor_serialize(const GBinaryCursor *cursor, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ @@ -520,7 +520,7 @@ static bool g_binary_cursor_serialize(const GBinaryCursor *cursor, packed_buffer * * ******************************************************************************/ -static bool g_binary_cursor_unserialize(GBinaryCursor *cursor, packed_buffer *pbuf) +static bool g_binary_cursor_unserialize(GBinaryCursor *cursor, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ diff --git a/src/glibext/glinecursor-int.h b/src/glibext/glinecursor-int.h index 427ecdd..b440f76 100644 --- a/src/glibext/glinecursor-int.h +++ b/src/glibext/glinecursor-int.h @@ -46,10 +46,10 @@ typedef char * (* build_cursor_label_fc) (const GLineCursor *); typedef void (* show_cursor_status_fc) (const GLineCursor *, GtkStatusStack *, GLoadedContent *); /* Exporte la définition d'un emplacement dans un flux réseau. */ -typedef bool (* serialize_cursor_fc) (const GLineCursor *, packed_buffer *); +typedef bool (* serialize_cursor_fc) (const GLineCursor *, packed_buffer_t *); /* Importe la définition d'un emplacement depuis un flux réseau. */ -typedef bool (* unserialize_cursor_fc) (GLineCursor *, packed_buffer *); +typedef bool (* unserialize_cursor_fc) (GLineCursor *, packed_buffer_t *); /* Donne les éléments requis pour la construction d'une table. */ typedef char *(* create_cursor_db_table_fc) (const char *); diff --git a/src/glibext/glinecursor.c b/src/glibext/glinecursor.c index 22f1962..1b2c749 100644 --- a/src/glibext/glinecursor.c +++ b/src/glibext/glinecursor.c @@ -272,7 +272,7 @@ void g_line_cursor_show_status(const GLineCursor *cursor, GtkStatusStack *stack, * * ******************************************************************************/ -bool g_line_cursor_serialize(const GLineCursor *cursor, packed_buffer *pbuf) +bool g_line_cursor_serialize(const GLineCursor *cursor, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ @@ -296,7 +296,7 @@ bool g_line_cursor_serialize(const GLineCursor *cursor, packed_buffer *pbuf) * * ******************************************************************************/ -bool g_line_cursor_unserialize(GLineCursor *cursor, packed_buffer *pbuf) +bool g_line_cursor_unserialize(GLineCursor *cursor, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ diff --git a/src/glibext/glinecursor.h b/src/glibext/glinecursor.h index 18cb56a..5c35c52 100644 --- a/src/glibext/glinecursor.h +++ b/src/glibext/glinecursor.h @@ -82,10 +82,10 @@ void g_line_cursor_show_status(const GLineCursor *, GtkStatusStack *, GLoadedCon /* Exporte la définition d'un emplacement dans un flux réseau. */ -bool g_line_cursor_serialize(const GLineCursor *, packed_buffer *); +bool g_line_cursor_serialize(const GLineCursor *, packed_buffer_t *); /* Importe la définition d'un emplacement depuis un flux réseau. */ -bool g_line_cursor_unserialize(GLineCursor *, packed_buffer *); +bool g_line_cursor_unserialize(GLineCursor *, packed_buffer_t *); |