summaryrefslogtreecommitdiff
path: root/opacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'opacket.h')
-rw-r--r--opacket.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/opacket.h b/opacket.h
index 261ed1f81..e563d8d3b 100644
--- a/opacket.h
+++ b/opacket.h
@@ -45,6 +45,9 @@ void packet_set_connection(int, int);
45int packet_read_seqnr(u_int32_t *); 45int packet_read_seqnr(u_int32_t *);
46int packet_read_poll_seqnr(u_int32_t *); 46int packet_read_poll_seqnr(u_int32_t *);
47void packet_process_incoming(const char *buf, u_int len); 47void packet_process_incoming(const char *buf, u_int len);
48void packet_write_wait(void);
49void packet_write_poll(void);
50void packet_read_expect(int expected_type);
48#define packet_set_timeout(timeout, count) \ 51#define packet_set_timeout(timeout, count) \
49 ssh_packet_set_timeout(active_state, (timeout), (count)) 52 ssh_packet_set_timeout(active_state, (timeout), (count))
50#define packet_connection_is_on_socket() \ 53#define packet_connection_is_on_socket() \
@@ -85,8 +88,6 @@ void packet_process_incoming(const char *buf, u_int len);
85 ssh_packet_send(active_state) 88 ssh_packet_send(active_state)
86#define packet_read() \ 89#define packet_read() \
87 ssh_packet_read(active_state) 90 ssh_packet_read(active_state)
88#define packet_read_expect(expected_type) \
89 ssh_packet_read_expect(active_state, (expected_type))
90#define packet_get_int64() \ 91#define packet_get_int64() \
91 ssh_packet_get_int64(active_state) 92 ssh_packet_get_int64(active_state)
92#define packet_get_bignum(value) \ 93#define packet_get_bignum(value) \
@@ -105,10 +106,6 @@ void packet_process_incoming(const char *buf, u_int len);
105 ssh_packet_send_debug(active_state, (fmt), ##args) 106 ssh_packet_send_debug(active_state, (fmt), ##args)
106#define packet_disconnect(fmt, args...) \ 107#define packet_disconnect(fmt, args...) \
107 ssh_packet_disconnect(active_state, (fmt), ##args) 108 ssh_packet_disconnect(active_state, (fmt), ##args)
108#define packet_write_poll() \
109 ssh_packet_write_poll(active_state)
110#define packet_write_wait() \
111 ssh_packet_write_wait(active_state)
112#define packet_have_data_to_write() \ 109#define packet_have_data_to_write() \
113 ssh_packet_have_data_to_write(active_state) 110 ssh_packet_have_data_to_write(active_state)
114#define packet_not_very_much_data_to_write() \ 111#define packet_not_very_much_data_to_write() \