summaryrefslogtreecommitdiff
path: root/bufaux.h
diff options
context:
space:
mode:
Diffstat (limited to 'bufaux.h')
-rw-r--r--bufaux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bufaux.h b/bufaux.h
index 8902ec2a8..c0182da13 100644
--- a/bufaux.h
+++ b/bufaux.h
@@ -31,11 +31,15 @@ int buffer_get_bignum2(Buffer *buffer, BIGNUM * value);
31 31
32/* Returns an integer from the buffer (4 bytes, msb first). */ 32/* Returns an integer from the buffer (4 bytes, msb first). */
33u_int buffer_get_int(Buffer * buffer); 33u_int buffer_get_int(Buffer * buffer);
34#ifdef HAVE_U_INT64_T
34u_int64_t buffer_get_int64(Buffer *buffer); 35u_int64_t buffer_get_int64(Buffer *buffer);
36#endif
35 37
36/* Stores an integer in the buffer in 4 bytes, msb first. */ 38/* Stores an integer in the buffer in 4 bytes, msb first. */
37void buffer_put_int(Buffer * buffer, u_int value); 39void buffer_put_int(Buffer * buffer, u_int value);
40#ifdef HAVE_U_INT64_T
38void buffer_put_int64(Buffer *buffer, u_int64_t value); 41void buffer_put_int64(Buffer *buffer, u_int64_t value);
42#endif
39 43
40/* Returns a character from the buffer (0 - 255). */ 44/* Returns a character from the buffer (0 - 255). */
41int buffer_get_char(Buffer * buffer); 45int buffer_get_char(Buffer * buffer);