diff options
Diffstat (limited to 'bufaux.h')
-rw-r--r-- | bufaux.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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). */ |
33 | u_int buffer_get_int(Buffer * buffer); | 33 | u_int buffer_get_int(Buffer * buffer); |
34 | #ifdef HAVE_U_INT64_T | ||
34 | u_int64_t buffer_get_int64(Buffer *buffer); | 35 | u_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. */ |
37 | void buffer_put_int(Buffer * buffer, u_int value); | 39 | void buffer_put_int(Buffer * buffer, u_int value); |
40 | #ifdef HAVE_U_INT64_T | ||
38 | void buffer_put_int64(Buffer *buffer, u_int64_t value); | 41 | void 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). */ |
41 | int buffer_get_char(Buffer * buffer); | 45 | int buffer_get_char(Buffer * buffer); |