summaryrefslogtreecommitdiff
path: root/opacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'opacket.h')
-rw-r--r--opacket.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/opacket.h b/opacket.h
index c487f4f40..c49d0c04a 100644
--- a/opacket.h
+++ b/opacket.h
@@ -6,7 +6,6 @@ void ssh_packet_start(struct ssh *, u_char);
6void ssh_packet_put_char(struct ssh *, int ch); 6void ssh_packet_put_char(struct ssh *, int ch);
7void ssh_packet_put_int(struct ssh *, u_int value); 7void ssh_packet_put_int(struct ssh *, u_int value);
8void ssh_packet_put_int64(struct ssh *, u_int64_t value); 8void ssh_packet_put_int64(struct ssh *, u_int64_t value);
9void ssh_packet_put_bignum(struct ssh *, BIGNUM * value);
10void ssh_packet_put_bignum2(struct ssh *, BIGNUM * value); 9void ssh_packet_put_bignum2(struct ssh *, BIGNUM * value);
11void ssh_packet_put_ecpoint(struct ssh *, const EC_GROUP *, const EC_POINT *); 10void ssh_packet_put_ecpoint(struct ssh *, const EC_GROUP *, const EC_POINT *);
12void ssh_packet_put_string(struct ssh *, const void *buf, u_int len); 11void ssh_packet_put_string(struct ssh *, const void *buf, u_int len);
@@ -17,7 +16,6 @@ void ssh_packet_send(struct ssh *);
17u_int ssh_packet_get_char(struct ssh *); 16u_int ssh_packet_get_char(struct ssh *);
18u_int ssh_packet_get_int(struct ssh *); 17u_int ssh_packet_get_int(struct ssh *);
19u_int64_t ssh_packet_get_int64(struct ssh *); 18u_int64_t ssh_packet_get_int64(struct ssh *);
20void ssh_packet_get_bignum(struct ssh *, BIGNUM * value);
21void ssh_packet_get_bignum2(struct ssh *, BIGNUM * value); 19void ssh_packet_get_bignum2(struct ssh *, BIGNUM * value);
22void ssh_packet_get_ecpoint(struct ssh *, const EC_GROUP *, EC_POINT *); 20void ssh_packet_get_ecpoint(struct ssh *, const EC_GROUP *, EC_POINT *);
23void *ssh_packet_get_string(struct ssh *, u_int *length_ptr); 21void *ssh_packet_get_string(struct ssh *, u_int *length_ptr);
@@ -62,8 +60,6 @@ void packet_read_expect(int expected_type);
62 ssh_packet_get_protocol_flags(active_state) 60 ssh_packet_get_protocol_flags(active_state)
63#define packet_start_compression(level) \ 61#define packet_start_compression(level) \
64 ssh_packet_start_compression(active_state, (level)) 62 ssh_packet_start_compression(active_state, (level))
65#define packet_set_encryption_key(key, keylen, number) \
66 ssh_packet_set_encryption_key(active_state, (key), (keylen), (number))
67#define packet_start(type) \ 63#define packet_start(type) \
68 ssh_packet_start(active_state, (type)) 64 ssh_packet_start(active_state, (type))
69#define packet_put_char(value) \ 65#define packet_put_char(value) \
@@ -78,8 +74,6 @@ void packet_read_expect(int expected_type);
78 ssh_packet_put_cstring(active_state, (str)) 74 ssh_packet_put_cstring(active_state, (str))
79#define packet_put_raw(buf, len) \ 75#define packet_put_raw(buf, len) \
80 ssh_packet_put_raw(active_state, (buf), (len)) 76 ssh_packet_put_raw(active_state, (buf), (len))
81#define packet_put_bignum(value) \
82 ssh_packet_put_bignum(active_state, (value))
83#define packet_put_bignum2(value) \ 77#define packet_put_bignum2(value) \
84 ssh_packet_put_bignum2(active_state, (value)) 78 ssh_packet_put_bignum2(active_state, (value))
85#define packet_send() \ 79#define packet_send() \
@@ -88,8 +82,6 @@ void packet_read_expect(int expected_type);
88 ssh_packet_read(active_state) 82 ssh_packet_read(active_state)
89#define packet_get_int64() \ 83#define packet_get_int64() \
90 ssh_packet_get_int64(active_state) 84 ssh_packet_get_int64(active_state)
91#define packet_get_bignum(value) \
92 ssh_packet_get_bignum(active_state, (value))
93#define packet_get_bignum2(value) \ 85#define packet_get_bignum2(value) \
94 ssh_packet_get_bignum2(active_state, (value)) 86 ssh_packet_get_bignum2(active_state, (value))
95#define packet_remaining() \ 87#define packet_remaining() \
@@ -157,5 +149,7 @@ void packet_disconnect(const char *, ...)
157 ssh_packet_set_mux(active_state) 149 ssh_packet_set_mux(active_state)
158#define packet_get_mux() \ 150#define packet_get_mux() \
159 ssh_packet_get_mux(active_state) 151 ssh_packet_get_mux(active_state)
152#define packet_clear_keys() \
153 ssh_packet_clear_keys(active_state)
160 154
161#endif /* _OPACKET_H */ 155#endif /* _OPACKET_H */