diff options
Diffstat (limited to 'bufaux.h')
-rw-r--r-- | bufaux.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ | |||
10 | * called by a name other than "ssh" or "Secure Shell". | 10 | * called by a name other than "ssh" or "Secure Shell". |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /* RCSID("$OpenBSD: bufaux.h,v 1.9 2000/12/19 23:17:55 markus Exp $"); */ | 13 | /* RCSID("$OpenBSD: bufaux.h,v 1.10 2001/01/10 22:56:22 markus Exp $"); */ |
14 | 14 | ||
15 | #ifndef BUFAUX_H | 15 | #ifndef BUFAUX_H |
16 | #define BUFAUX_H | 16 | #define BUFAUX_H |
@@ -30,9 +30,11 @@ int buffer_get_bignum2(Buffer *buffer, BIGNUM * value); | |||
30 | 30 | ||
31 | /* Returns an integer from the buffer (4 bytes, msb first). */ | 31 | /* Returns an integer from the buffer (4 bytes, msb first). */ |
32 | u_int buffer_get_int(Buffer * buffer); | 32 | u_int buffer_get_int(Buffer * buffer); |
33 | u_int64_t buffer_get_int64(Buffer *buffer); | ||
33 | 34 | ||
34 | /* Stores an integer in the buffer in 4 bytes, msb first. */ | 35 | /* Stores an integer in the buffer in 4 bytes, msb first. */ |
35 | void buffer_put_int(Buffer * buffer, u_int value); | 36 | void buffer_put_int(Buffer * buffer, u_int value); |
37 | void buffer_put_int64(Buffer *buffer, u_int64_t value); | ||
36 | 38 | ||
37 | /* Returns a character from the buffer (0 - 255). */ | 39 | /* Returns a character from the buffer (0 - 255). */ |
38 | int buffer_get_char(Buffer * buffer); | 40 | int buffer_get_char(Buffer * buffer); |