]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/openssh/ssh_namespace.h
This commit was generated by cvs2svn to compensate for changes in r159248,
[FreeBSD/FreeBSD.git] / crypto / openssh / ssh_namespace.h
1 /*
2  * Namespace munging inspired by an equivalent hack in NetBSD's tree: add
3  * the "ssh_" prefix to every symbol in libssh which doesn't already have
4  * it.  This prevents collisions between symbols in libssh and symbols in
5  * other libraries or applications which link with libssh, either directly
6  * or indirectly (e.g. through PAM loading pam_ssh).
7  *
8  * A list of symbols which need munging is obtained as follows:
9  *
10  * nm libssh.a | awk '$2 == "T" && $3 !~ /^ssh_/ { print $3 }'
11  *
12  * $FreeBSD$
13  */
14
15 #define a2port                                  ssh_a2port
16 #define a2tun                                   ssh_a2tun
17 #define acss                                    ssh_acss
18 #define acss_setkey                             ssh_acss_setkey
19 #define acss_setsubkey                          ssh_acss_setsubkey
20 #define add_host_to_hostfile                    ssh_add_host_to_hostfile
21 #define addargs                                 ssh_addargs
22 #define ask_permission                          ssh_ask_permission
23 #define atomicio                                ssh_atomicio
24 #define auth_request_forwarding                 ssh_auth_request_forwarding
25 #define buffer_append                           ssh_buffer_append
26 #define buffer_append_space                     ssh_buffer_append_space
27 #define buffer_clear                            ssh_buffer_clear
28 #define buffer_compress                         ssh_buffer_compress
29 #define buffer_compress_init_recv               ssh_buffer_compress_init_recv
30 #define buffer_compress_init_send               ssh_buffer_compress_init_send
31 #define buffer_compress_uninit                  ssh_buffer_compress_uninit
32 #define buffer_consume                          ssh_buffer_consume
33 #define buffer_consume_end                      ssh_buffer_consume_end
34 #define buffer_consume_end_ret                  ssh_buffer_consume_end_ret
35 #define buffer_consume_ret                      ssh_buffer_consume_ret
36 #define buffer_dump                             ssh_buffer_dump
37 #define buffer_free                             ssh_buffer_free
38 #define buffer_get                              ssh_buffer_get
39 #define buffer_get_bignum                       ssh_buffer_get_bignum
40 #define buffer_get_bignum2                      ssh_buffer_get_bignum2
41 #define buffer_get_bignum2_ret                  ssh_buffer_get_bignum2_ret
42 #define buffer_get_bignum_ret                   ssh_buffer_get_bignum_ret
43 #define buffer_get_char                         ssh_buffer_get_char
44 #define buffer_get_char_ret                     ssh_buffer_get_char_ret
45 #define buffer_get_int                          ssh_buffer_get_int
46 #define buffer_get_int64                        ssh_buffer_get_int64
47 #define buffer_get_int64_ret                    ssh_buffer_get_int64_ret
48 #define buffer_get_int_ret                      ssh_buffer_get_int_ret
49 #define buffer_get_ret                          ssh_buffer_get_ret
50 #define buffer_get_short                        ssh_buffer_get_short
51 #define buffer_get_short_ret                    ssh_buffer_get_short_ret
52 #define buffer_get_string                       ssh_buffer_get_string
53 #define buffer_get_string_ret                   ssh_buffer_get_string_ret
54 #define buffer_init                             ssh_buffer_init
55 #define buffer_len                              ssh_buffer_len
56 #define buffer_ptr                              ssh_buffer_ptr
57 #define buffer_put_bignum                       ssh_buffer_put_bignum
58 #define buffer_put_bignum2                      ssh_buffer_put_bignum2
59 #define buffer_put_bignum2_ret                  ssh_buffer_put_bignum2_ret
60 #define buffer_put_bignum_ret                   ssh_buffer_put_bignum_ret
61 #define buffer_put_char                         ssh_buffer_put_char
62 #define buffer_put_cstring                      ssh_buffer_put_cstring
63 #define buffer_put_int                          ssh_buffer_put_int
64 #define buffer_put_int64                        ssh_buffer_put_int64
65 #define buffer_put_short                        ssh_buffer_put_short
66 #define buffer_put_string                       ssh_buffer_put_string
67 #define buffer_uncompress                       ssh_buffer_uncompress
68 #define chan_ibuf_empty                         ssh_chan_ibuf_empty
69 #define chan_is_dead                            ssh_chan_is_dead
70 #define chan_mark_dead                          ssh_chan_mark_dead
71 #define chan_obuf_empty                         ssh_chan_obuf_empty
72 #define chan_rcvd_ieof                          ssh_chan_rcvd_ieof
73 #define chan_rcvd_oclose                        ssh_chan_rcvd_oclose
74 #define chan_read_failed                        ssh_chan_read_failed
75 #define chan_write_failed                       ssh_chan_write_failed
76 #define channel_add_permitted_opens             ssh_channel_add_permitted_opens
77 #define channel_after_select                    ssh_channel_after_select
78 #define channel_by_id                           ssh_channel_by_id
79 #define channel_cancel_cleanup                  ssh_channel_cancel_cleanup
80 #define channel_cancel_rport_listener           ssh_channel_cancel_rport_listener
81 #define channel_clear_permitted_opens           ssh_channel_clear_permitted_opens
82 #define channel_close_all                       ssh_channel_close_all
83 #define channel_close_fd                        ssh_channel_close_fd
84 #define channel_connect_by_listen_address       ssh_channel_connect_by_listen_address
85 #define channel_connect_to                      ssh_channel_connect_to
86 #define channel_find_open                       ssh_channel_find_open
87 #define channel_free                            ssh_channel_free
88 #define channel_free_all                        ssh_channel_free_all
89 #define channel_input_close                     ssh_channel_input_close
90 #define channel_input_close_confirmation        ssh_channel_input_close_confirmation
91 #define channel_input_data                      ssh_channel_input_data
92 #define channel_input_extended_data             ssh_channel_input_extended_data
93 #define channel_input_ieof                      ssh_channel_input_ieof
94 #define channel_input_oclose                    ssh_channel_input_oclose
95 #define channel_input_open_confirmation         ssh_channel_input_open_confirmation
96 #define channel_input_open_failure              ssh_channel_input_open_failure
97 #define channel_input_port_forward_request      ssh_channel_input_port_forward_request
98 #define channel_input_port_open                 ssh_channel_input_port_open
99 #define channel_input_window_adjust             ssh_channel_input_window_adjust
100 #define channel_lookup                          ssh_channel_lookup
101 #define channel_new                             ssh_channel_new
102 #define channel_not_very_much_buffered_data     ssh_channel_not_very_much_buffered_data
103 #define channel_open_message                    ssh_channel_open_message
104 #define channel_output_poll                     ssh_channel_output_poll
105 #define channel_permit_all_opens                ssh_channel_permit_all_opens
106 #define channel_prepare_select                  ssh_channel_prepare_select
107 #define channel_register_cleanup                ssh_channel_register_cleanup
108 #define channel_register_confirm                ssh_channel_register_confirm
109 #define channel_register_filter                 ssh_channel_register_filter
110 #define channel_request_remote_forwarding       ssh_channel_request_remote_forwarding
111 #define channel_request_rforward_cancel         ssh_channel_request_rforward_cancel
112 #define channel_request_start                   ssh_channel_request_start
113 #define channel_send_open                       ssh_channel_send_open
114 #define channel_send_window_changes             ssh_channel_send_window_changes
115 #define channel_set_af                          ssh_channel_set_af
116 #define channel_set_fds                         ssh_channel_set_fds
117 #define channel_setup_local_fwd_listener        ssh_channel_setup_local_fwd_listener
118 #define channel_setup_remote_fwd_listener       ssh_channel_setup_remote_fwd_listener
119 #define channel_still_open                      ssh_channel_still_open
120 #define channel_stop_listening                  ssh_channel_stop_listening
121 #define check_host_in_hostfile                  ssh_check_host_in_hostfile
122 #define choose_dh                               ssh_choose_dh
123 #define chop                                    ssh_chop
124 #define cipher_blocksize                        ssh_cipher_blocksize
125 #define cipher_by_name                          ssh_cipher_by_name
126 #define cipher_by_number                        ssh_cipher_by_number
127 #define cipher_cleanup                          ssh_cipher_cleanup
128 #define cipher_crypt                            ssh_cipher_crypt
129 #define cipher_get_keycontext                   ssh_cipher_get_keycontext
130 #define cipher_get_keyiv                        ssh_cipher_get_keyiv
131 #define cipher_get_keyiv_len                    ssh_cipher_get_keyiv_len
132 #define cipher_get_number                       ssh_cipher_get_number
133 #define cipher_init                             ssh_cipher_init
134 #define cipher_keylen                           ssh_cipher_keylen
135 #define cipher_mask_ssh1                        ssh_cipher_mask_ssh1
136 #define cipher_name                             ssh_cipher_name
137 #define cipher_number                           ssh_cipher_number
138 #define cipher_set_key_string                   ssh_cipher_set_key_string
139 #define cipher_set_keycontext                   ssh_cipher_set_keycontext
140 #define cipher_set_keyiv                        ssh_cipher_set_keyiv
141 #define ciphers_valid                           ssh_ciphers_valid
142 #define cleanhostname                           ssh_cleanhostname
143 #define cleanup_exit                            ssh_cleanup_exit
144 #define closefrom                               ssh_closefrom
145 #define colon                                   ssh_colon
146 #define compat_cipher_proposal                  ssh_compat_cipher_proposal
147 #define compat_datafellows                      ssh_compat_datafellows
148 #define convtime                                ssh_convtime
149 #define decode_reply                            ssh_decode_reply
150 #define deny_input_open                         ssh_deny_input_open
151 #define derive_ssh1_session_id                  ssh_derive_ssh1_session_id
152 #define detect_attack                           ssh_detect_attack
153 #define dh_estimate                             ssh_dh_estimate
154 #define dh_gen_key                              ssh_dh_gen_key
155 #define dh_new_group                            ssh_dh_new_group
156 #define dh_new_group1                           ssh_dh_new_group1
157 #define dh_new_group14                          ssh_dh_new_group14
158 #define dh_new_group_asc                        ssh_dh_new_group_asc
159 #define dh_pub_is_valid                         ssh_dh_pub_is_valid
160 #define dispatch_init                           ssh_dispatch_init
161 #define dispatch_protocol_error                 ssh_dispatch_protocol_error
162 #define dispatch_protocol_ignore                ssh_dispatch_protocol_ignore
163 #define dispatch_range                          ssh_dispatch_range
164 #define dispatch_run                            ssh_dispatch_run
165 #define dispatch_set                            ssh_dispatch_set
166 #define do_log                                  ssh_do_log
167 #define dump_base64                             ssh_dump_base64
168 #define enable_compat13                         ssh_enable_compat13
169 #define enable_compat20                         ssh_enable_compat20
170 #define evp_acss                                ssh_evp_acss
171 #define evp_aes_128_ctr                         ssh_evp_aes_128_ctr
172 #define evp_rijndael                            ssh_evp_rijndael
173 #define evp_ssh1_3des                           ssh_evp_ssh1_3des
174 #define evp_ssh1_bf                             ssh_evp_ssh1_bf
175 #define export_dns_rr                           ssh_export_dns_rr
176 #define freeargs                                ssh_freeargs
177 #define freerrset                               ssh_freerrset
178 #define gen_candidates                          ssh_gen_candidates
179 #define get_canonical_hostname                  ssh_get_canonical_hostname
180 #define get_local_ipaddr                        ssh_get_local_ipaddr
181 #define get_local_name                          ssh_get_local_name
182 #define get_local_port                          ssh_get_local_port
183 #define get_peer_ipaddr                         ssh_get_peer_ipaddr
184 #define get_peer_port                           ssh_get_peer_port
185 #define get_remote_ipaddr                       ssh_get_remote_ipaddr
186 #define get_remote_name_or_ip                   ssh_get_remote_name_or_ip
187 #define get_remote_port                         ssh_get_remote_port
188 #define getrrsetbyname                          ssh_getrrsetbyname
189 #define host_hash                               ssh_host_hash
190 #define hostfile_read_key                       ssh_hostfile_read_key
191 #define hpdelim                                 ssh_hpdelim
192 #define init_rng                                ssh_init_rng
193 #define ipv64_normalise_mapped                  ssh_ipv64_normalise_mapped
194 #define kex_derive_keys                         ssh_kex_derive_keys
195 #define kex_dh_hash                             ssh_kex_dh_hash
196 #define kex_finish                              ssh_kex_finish
197 #define kex_get_newkeys                         ssh_kex_get_newkeys
198 #define kex_input_kexinit                       ssh_kex_input_kexinit
199 #define kex_send_kexinit                        ssh_kex_send_kexinit
200 #define kex_setup                               ssh_kex_setup
201 #define kexdh_client                            ssh_kexdh_client
202 #define kexgex_client                           ssh_kexgex_client
203 #define kexgex_hash                             ssh_kexgex_hash
204 #define key_demote                              ssh_key_demote
205 #define key_equal                               ssh_key_equal
206 #define key_fingerprint                         ssh_key_fingerprint
207 #define key_fingerprint_raw                     ssh_key_fingerprint_raw
208 #define key_free                                ssh_key_free
209 #define key_from_blob                           ssh_key_from_blob
210 #define key_from_private                        ssh_key_from_private
211 #define key_generate                            ssh_key_generate
212 #define key_load_private                        ssh_key_load_private
213 #define key_load_private_pem                    ssh_key_load_private_pem
214 #define key_load_private_type                   ssh_key_load_private_type
215 #define key_load_public                         ssh_key_load_public
216 #define key_load_public_type                    ssh_key_load_public_type
217 #define key_names_valid2                        ssh_key_names_valid2
218 #define key_new                                 ssh_key_new
219 #define key_new_private                         ssh_key_new_private
220 #define key_read                                ssh_key_read
221 #define key_save_private                        ssh_key_save_private
222 #define key_sign                                ssh_key_sign
223 #define key_size                                ssh_key_size
224 #define key_ssh_name                            ssh_key_ssh_name
225 #define key_to_blob                             ssh_key_to_blob
226 #define key_type                                ssh_key_type
227 #define key_type_from_name                      ssh_key_type_from_name
228 #define key_verify                              ssh_key_verify
229 #define key_write                               ssh_key_write
230 #define log_facility_number                     ssh_log_facility_number
231 #define log_init                                ssh_log_init
232 #define log_level_number                        ssh_log_level_number
233 #define lookup_key_in_hostfile_by_type          ssh_lookup_key_in_hostfile_by_type
234 #define mac_compute                             ssh_mac_compute
235 #define mac_init                                ssh_mac_init
236 #define mac_valid                               ssh_mac_valid
237 #define match_host_and_ip                       ssh_match_host_and_ip
238 #define match_hostname                          ssh_match_hostname
239 #define match_list                              ssh_match_list
240 #define match_pattern                           ssh_match_pattern
241 #define match_pattern_list                      ssh_match_pattern_list
242 #define match_user                              ssh_match_user
243 #define mm_receive_fd                           ssh_mm_receive_fd
244 #define mm_send_fd                              ssh_mm_send_fd
245 #define mysignal                                ssh_mysignal
246 #define packet_add_padding                      ssh_packet_add_padding
247 #define packet_close                            ssh_packet_close
248 #define packet_connection_is_ipv4               ssh_packet_connection_is_ipv4
249 #define packet_connection_is_on_socket          ssh_packet_connection_is_on_socket
250 #define packet_disconnect                       ssh_packet_disconnect
251 #define packet_get_bignum                       ssh_packet_get_bignum
252 #define packet_get_bignum2                      ssh_packet_get_bignum2
253 #define packet_get_char                         ssh_packet_get_char
254 #define packet_get_connection_in                ssh_packet_get_connection_in
255 #define packet_get_connection_out               ssh_packet_get_connection_out
256 #define packet_get_encryption_key               ssh_packet_get_encryption_key
257 #define packet_get_int                          ssh_packet_get_int
258 #define packet_get_keycontext                   ssh_packet_get_keycontext
259 #define packet_get_keyiv                        ssh_packet_get_keyiv
260 #define packet_get_keyiv_len                    ssh_packet_get_keyiv_len
261 #define packet_get_protocol_flags               ssh_packet_get_protocol_flags
262 #define packet_get_raw                          ssh_packet_get_raw
263 #define packet_get_ssh1_cipher                  ssh_packet_get_ssh1_cipher
264 #define packet_get_state                        ssh_packet_get_state
265 #define packet_get_string                       ssh_packet_get_string
266 #define packet_have_data_to_write               ssh_packet_have_data_to_write
267 #define packet_is_interactive                   ssh_packet_is_interactive
268 #define packet_need_rekeying                    ssh_packet_need_rekeying
269 #define packet_not_very_much_data_to_write      ssh_packet_not_very_much_data_to_write
270 #define packet_process_incoming                 ssh_packet_process_incoming
271 #define packet_put_bignum                       ssh_packet_put_bignum
272 #define packet_put_bignum2                      ssh_packet_put_bignum2
273 #define packet_put_char                         ssh_packet_put_char
274 #define packet_put_cstring                      ssh_packet_put_cstring
275 #define packet_put_int                          ssh_packet_put_int
276 #define packet_put_raw                          ssh_packet_put_raw
277 #define packet_put_string                       ssh_packet_put_string
278 #define packet_read                             ssh_packet_read
279 #define packet_read_expect                      ssh_packet_read_expect
280 #define packet_read_poll                        ssh_packet_read_poll
281 #define packet_read_poll_seqnr                  ssh_packet_read_poll_seqnr
282 #define packet_read_seqnr                       ssh_packet_read_seqnr
283 #define packet_remaining                        ssh_packet_remaining
284 #define packet_send                             ssh_packet_send
285 #define packet_send_debug                       ssh_packet_send_debug
286 #define packet_send_ignore                      ssh_packet_send_ignore
287 #define packet_set_authenticated                ssh_packet_set_authenticated
288 #define packet_set_connection                   ssh_packet_set_connection
289 #define packet_set_encryption_key               ssh_packet_set_encryption_key
290 #define packet_set_interactive                  ssh_packet_set_interactive
291 #define packet_set_iv                           ssh_packet_set_iv
292 #define packet_set_keycontext                   ssh_packet_set_keycontext
293 #define packet_set_maxsize                      ssh_packet_set_maxsize
294 #define packet_set_nonblocking                  ssh_packet_set_nonblocking
295 #define packet_set_protocol_flags               ssh_packet_set_protocol_flags
296 #define packet_set_rekey_limit                  ssh_packet_set_rekey_limit
297 #define packet_set_server                       ssh_packet_set_server
298 #define packet_set_state                        ssh_packet_set_state
299 #define packet_start                            ssh_packet_start
300 #define packet_start_compression                ssh_packet_start_compression
301 #define packet_write_poll                       ssh_packet_write_poll
302 #define packet_write_wait                       ssh_packet_write_wait
303 #define percent_expand                          ssh_percent_expand
304 #define permanently_set_uid                     ssh_permanently_set_uid
305 #define prime_test                              ssh_prime_test
306 #define proto_spec                              ssh_proto_spec
307 #define pwcopy                                  ssh_pwcopy
308 #define read_keyfile_line                       ssh_read_keyfile_line
309 #define read_passphrase                         ssh_read_passphrase
310 #define refresh_progress_meter                  ssh_refresh_progress_meter
311 #define replacearg                              ssh_replacearg
312 #define restore_uid                             ssh_restore_uid
313 #define rijndael_decrypt                        ssh_rijndael_decrypt
314 #define rijndael_encrypt                        ssh_rijndael_encrypt
315 #define rijndael_set_key                        ssh_rijndael_set_key
316 #define rsa_generate_additional_parameters      ssh_rsa_generate_additional_parameters
317 #define rsa_private_decrypt                     ssh_rsa_private_decrypt
318 #define rsa_public_encrypt                      ssh_rsa_public_encrypt
319 #define sanitise_stdfd                          ssh_sanitise_stdfd
320 #define seed_rng                                ssh_seed_rng
321 #define set_newkeys                             ssh_set_newkeys
322 #define set_nodelay                             ssh_set_nodelay
323 #define set_nonblock                            ssh_set_nonblock
324 #define shadow_pw                               ssh_shadow_pw
325 #define ssh1_3des_iv                            ssh_ssh1_3des_iv
326 #define start_progress_meter                    ssh_start_progress_meter
327 #define stop_progress_meter                     ssh_stop_progress_meter
328 #define strdelim                                ssh_strdelim
329 #define strnvis                                 ssh_strnvis
330 #define strvis                                  ssh_strvis
331 #define strvisx                                 ssh_strvisx
332 #define sys_tun_open                            ssh_sys_tun_open
333 #define temporarily_use_uid                     ssh_temporarily_use_uid
334 #define tilde_expand_filename                   ssh_tilde_expand_filename
335 #define tohex                                   ssh_tohex
336 #define tty_make_modes                          ssh_tty_make_modes
337 #define tty_parse_modes                         ssh_tty_parse_modes
338 #define tun_open                                ssh_tun_open
339 #define unset_nonblock                          ssh_unset_nonblock
340 #define uudecode                                ssh_uudecode
341 #define uuencode                                ssh_uuencode
342 #define verify_host_key_dns                     ssh_verify_host_key_dns
343 #define vis                                     ssh_vis
344 #define x11_connect_display                     ssh_x11_connect_display
345 #define x11_create_display_inet                 ssh_x11_create_display_inet
346 #define x11_input_open                          ssh_x11_input_open
347 #define x11_request_forwarding_with_spoofing    ssh_x11_request_forwarding_with_spoofing
348 #define xcrypt                                  ssh_xcrypt
349 #define xfree                                   ssh_xfree
350 #define xmalloc                                 ssh_xmalloc
351 #define xmmap                                   ssh_xmmap
352 #define xrealloc                                ssh_xrealloc
353 #define xstrdup                                 ssh_xstrdup