Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (25 sloc) 1.024 kB
dbb6559 @marschap Imported Upstream version 1.92
authored
1 /*
2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
5 *
6 * As far as I am concerned, the code I have written for this software
7 * can be used freely for any purpose. Any derived versions of this
8 * software must be clearly marked as such, and if the derived work is
9 * incompatible with the protocol description in the RFC file, it must be
10 * called by a name other than "ssh" or "Secure Shell".
11 */
12
13 #ifndef BUFAUX_H
14 #define BUFAUX_H
15
16 #include "buffer.h"
17
18 void buffer_put_bignum(Buffer *, BIGNUM *);
19 void buffer_put_bignum2(Buffer *, BIGNUM *);
20 void buffer_get_bignum(Buffer *, BIGNUM *);
21
22 u_int buffer_get_int(Buffer *);
23 void buffer_put_int(Buffer *, u_int);
24
25 int buffer_get_char(Buffer *);
26 void buffer_put_char(Buffer *, int);
27
28 void *buffer_get_string(Buffer *, u_int *);
29 void buffer_put_string(Buffer *, const void *, u_int);
30 void buffer_put_cstring(Buffer *, const char *);
31
32 #endif /* BUFAUX_H */
Something went wrong with that request. Please try again.