diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-02 12:04:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-02 12:04:35 (GMT) |
commit | dccdda3b7477fcc892b37b2bd94fc820a71a4090 (patch) | |
tree | c27c4db9dc14499e51cbf66de229b35c2119173e /src/common/packed.h | |
parent | 2d488a40520e64708b34f5e28102f606d9bcb38e (diff) |
Removed debug output.
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 7b4890d..64d5d20 100644 --- a/src/common/packed.h +++ b/src/common/packed.h @@ -52,6 +52,9 @@ void init_packed_buffer(packed_buffer *); /* Efface les données contenues par un paquet réseau. */ void exit_packed_buffer(packed_buffer *); +/* Indique le nombre d'octets de la charge utile d'un paquet. */ +size_t get_packed_buffer_payload_length(const packed_buffer *); + /* Ajoute des données à un paquet en amont à un envoi. */ bool extend_packed_buffer(packed_buffer *, const void *, size_t, bool); |