diff options
author | Damien Miller <djm@mindrot.org> | 2000-04-04 06:38:59 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-04-04 06:38:59 +0200 |
commit | 33b13568b520b25990261206e10c941a9270238f (patch) | |
tree | be9d549ee0c9c7774e3ec1da8d807b2e04b00bec /packet.h | |
parent | - Add tests for RAND_add function when searching for OpenSSL (diff) | |
download | openssh-33b13568b520b25990261206e10c941a9270238f.tar.xz openssh-33b13568b520b25990261206e10c941a9270238f.zip |
- OpenBSD CVS update:
- [packet.h packet.c]
ssh2 packet format
- [packet.h packet.c nchan2.ms nchan.h compat.h compat.c]
[channels.h channels.c]
channel layer support for ssh2
- [kex.h kex.c hmac.h hmac.c dsa.c dsa.h]
DSA, keyexchange, algorithm agreement for ssh2
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -13,7 +13,7 @@ * */ -/* RCSID("$Id: packet.h,v 1.10 2000/03/17 12:40:16 damien Exp $"); */ +/* RCSID("$Id: packet.h,v 1.11 2000/04/04 04:39:03 damien Exp $"); */ #ifndef PACKET_H #define PACKET_H @@ -90,9 +90,12 @@ void packet_put_int(unsigned int value); /* Appends an arbitrary precision integer to packet data. */ void packet_put_bignum(BIGNUM * value); +void packet_put_bignum2(BIGNUM * value); /* Appends a string to packet data. */ void packet_put_string(const char *buf, unsigned int len); +void packet_put_cstring(const char *str); +void packet_put_raw(const char *buf, unsigned int len); /* * Finalizes and sends the packet. If the encryption key has been set, @@ -136,6 +139,8 @@ unsigned int packet_get_int(void); * must have been initialized before this call. */ void packet_get_bignum(BIGNUM * value, int *length_ptr); +void packet_get_bignum2(BIGNUM * value, int *length_ptr); +char *packet_get_raw(int *length_ptr); /* * Returns a string from the packet data. The string is allocated using @@ -202,4 +207,7 @@ do { \ int packet_connection_is_on_socket(void); int packet_connection_is_ipv4(void); +/* enable SSH2 packet format */ +void packet_set_ssh2_format(void); + #endif /* PACKET_H */ |