diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-05-30 23:38:00 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-05-30 23:39:01 (GMT) |
commit | 3a9cf58a75c87b9046c1646a97b798508619fd62 (patch) | |
tree | 285cca5be6ec31fe50ef2298e6c3c6f295eeb6b9 /src/common/packed.h | |
parent | 3c493d4cd2c9e91a2cee08c80e3629ea75788605 (diff) |
Provide a way to merge packed buffers.
Diffstat (limited to 'src/common/packed.h')
-rw-r--r-- | src/common/packed.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/packed.h b/src/common/packed.h index f43b999..8158bb4 100644 --- a/src/common/packed.h +++ b/src/common/packed.h @@ -65,6 +65,9 @@ void exit_packed_buffer(packed_buffer_t *); /* Copie les données d'un tampon dans un autre. */ void copy_packed_buffer(packed_buffer_t *, const packed_buffer_t *); +/* Inclut les données d'un tampon dans un autre. */ +bool include_packed_buffer(packed_buffer_t *, const packed_buffer_t *); + /* Indique le nombre d'octets de la charge utile d'un paquet. */ size_t get_packed_buffer_payload_length(const packed_buffer_t *); |