diff options
Diffstat (limited to 'bufaux.h')
-rw-r--r-- | bufaux.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bufaux.h,v 1.19 2003/11/10 16:23:41 jakob Exp $ */ | 1 | /* $OpenBSD: bufaux.h,v 1.20 2004/10/29 23:56:17 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -42,4 +42,14 @@ void buffer_put_cstring(Buffer *, const char *); | |||
42 | #define buffer_skip_string(b) \ | 42 | #define buffer_skip_string(b) \ |
43 | do { u_int l = buffer_get_int(b); buffer_consume(b, l); } while(0) | 43 | do { u_int l = buffer_get_int(b); buffer_consume(b, l); } while(0) |
44 | 44 | ||
45 | int buffer_put_bignum_ret(Buffer *, const BIGNUM *); | ||
46 | int buffer_get_bignum_ret(Buffer *, BIGNUM *); | ||
47 | int buffer_put_bignum2_ret(Buffer *, const BIGNUM *); | ||
48 | int buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ||
49 | int buffer_get_short_ret(u_short *, Buffer *); | ||
50 | int buffer_get_int_ret(u_int *, Buffer *); | ||
51 | int buffer_get_int64_ret(u_int64_t *, Buffer *); | ||
52 | void *buffer_get_string_ret(Buffer *, u_int *); | ||
53 | int buffer_get_char_ret(char *, Buffer *); | ||
54 | |||
45 | #endif /* BUFAUX_H */ | 55 | #endif /* BUFAUX_H */ |