Deleted Added
full compact
opacket.h (323129) opacket.h (323134)
1#ifndef _OPACKET_H
2/* Written by Markus Friedl. Placed in the public domain. */
3
4/* Map old to new API */
5void ssh_packet_start(struct ssh *, u_char);
6void ssh_packet_put_char(struct ssh *, int ch);
7void ssh_packet_put_int(struct ssh *, u_int value);
8void ssh_packet_put_int64(struct ssh *, u_int64_t value);

--- 119 unchanged lines hidden (view full) ---

128#define packet_set_server() \
129 ssh_packet_set_server(active_state)
130#define packet_set_authenticated() \
131 ssh_packet_set_authenticated(active_state)
132#define packet_get_input() \
133 ssh_packet_get_input(active_state)
134#define packet_get_output() \
135 ssh_packet_get_output(active_state)
1#ifndef _OPACKET_H
2/* Written by Markus Friedl. Placed in the public domain. */
3
4/* Map old to new API */
5void ssh_packet_start(struct ssh *, u_char);
6void ssh_packet_put_char(struct ssh *, int ch);
7void ssh_packet_put_int(struct ssh *, u_int value);
8void ssh_packet_put_int64(struct ssh *, u_int64_t value);

--- 119 unchanged lines hidden (view full) ---

128#define packet_set_server() \
129 ssh_packet_set_server(active_state)
130#define packet_set_authenticated() \
131 ssh_packet_set_authenticated(active_state)
132#define packet_get_input() \
133 ssh_packet_get_input(active_state)
134#define packet_get_output() \
135 ssh_packet_get_output(active_state)
136#define packet_set_compress_hooks(ctx, allocfunc, freefunc) \
137 ssh_packet_set_compress_hooks(active_state, ctx, \
138 allocfunc, freefunc);
139#define packet_check_eom() \
140 ssh_packet_check_eom(active_state)
141#define set_newkeys(mode) \
142 ssh_set_newkeys(active_state, (mode))
143#define packet_get_state(m) \
144 ssh_packet_get_state(active_state, m)
145#define packet_set_state(m) \
146 ssh_packet_set_state(active_state, m)

--- 4 unchanged lines hidden (view full) ---

151#define packet_put_ecpoint(c,p) \
152 ssh_packet_put_ecpoint(active_state, c, p)
153#define packet_get_rekey_timeout() \
154 ssh_packet_get_rekey_timeout(active_state)
155#define packet_set_rekey_limits(x,y) \
156 ssh_packet_set_rekey_limits(active_state, x, y)
157#define packet_get_bytes(x,y) \
158 ssh_packet_get_bytes(active_state, x, y)
136#define packet_check_eom() \
137 ssh_packet_check_eom(active_state)
138#define set_newkeys(mode) \
139 ssh_set_newkeys(active_state, (mode))
140#define packet_get_state(m) \
141 ssh_packet_get_state(active_state, m)
142#define packet_set_state(m) \
143 ssh_packet_set_state(active_state, m)

--- 4 unchanged lines hidden (view full) ---

148#define packet_put_ecpoint(c,p) \
149 ssh_packet_put_ecpoint(active_state, c, p)
150#define packet_get_rekey_timeout() \
151 ssh_packet_get_rekey_timeout(active_state)
152#define packet_set_rekey_limits(x,y) \
153 ssh_packet_set_rekey_limits(active_state, x, y)
154#define packet_get_bytes(x,y) \
155 ssh_packet_get_bytes(active_state, x, y)
156#define packet_set_mux() \
157 ssh_packet_set_mux(active_state)
158#define packet_get_mux() \
159 ssh_packet_get_mux(active_state)
159
160#endif /* _OPACKET_H */
160
161#endif /* _OPACKET_H */