summaryrefslogtreecommitdiff
path: root/bufaux.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-01-23 16:26:52 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-01-23 16:26:52 +0000
commit16a86be01aa1f097c5ceaea9ea96253e55d9a016 (patch)
tree116b6924241a060b11edec29f9c8ac2727b3bcc8 /bufaux.h
parentbda5bdcf8d1238b75e29094155da16e058b6e33b (diff)
downloadopenssh-git-16a86be01aa1f097c5ceaea9ea96253e55d9a016.tar.gz
- (bal) no 64bit support patch from Tim Rice <tim@multitalents.net>
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 8902ec2a..c0182da1 100644
--- a/bufaux.h
+++ b/bufaux.h
@@ -31,11 +31,15 @@ int buffer_get_bignum2(Buffer *buffer, BIGNUM * value);
/* Returns an integer from the buffer (4 bytes, msb first). */
u_int buffer_get_int(Buffer * buffer);
+#ifdef HAVE_U_INT64_T
u_int64_t buffer_get_int64(Buffer *buffer);
+#endif
/* Stores an integer in the buffer in 4 bytes, msb first. */
void buffer_put_int(Buffer * buffer, u_int value);
+#ifdef HAVE_U_INT64_T
void buffer_put_int64(Buffer *buffer, u_int64_t value);
+#endif
/* Returns a character from the buffer (0 - 255). */
int buffer_get_char(Buffer * buffer);