From 615b50b8ed9ae9f18452a4318b1fa9dba69e9b36 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 23 Jul 2001 09:54:47 +0000 Subject: [PATCH] updates. --- CHANGES | 4 + configure.in.pre | 5 +- distributions | 2 +- includes/Makefile.am | 3 +- lib/silcutil/silcnet.h | 2 +- win32/Makefile.am | 25 + win32/libsilc/Makefile.am | 24 + win32/libsilc/libsilc.def | 575 ++++++++++++++++++ win32/libsilc/libsilc.dsp | 819 ++++++++++++++++++++++++++ win32/libsilcclient/Makefile.am | 24 + win32/libsilcclient/libsilcclient.def | 155 +++++ win32/libsilcclient/libsilcclient.dsp | 176 ++++++ win32/silc.dsw | 41 ++ win32/silcdefs.h | 319 ++++++++++ win32/trq_conf.h | 62 ++ 15 files changed, 2232 insertions(+), 4 deletions(-) create mode 100644 win32/Makefile.am create mode 100644 win32/libsilc/Makefile.am create mode 100644 win32/libsilc/libsilc.def create mode 100644 win32/libsilc/libsilc.dsp create mode 100644 win32/libsilcclient/Makefile.am create mode 100644 win32/libsilcclient/libsilcclient.def create mode 100644 win32/libsilcclient/libsilcclient.dsp create mode 100644 win32/silc.dsw create mode 100644 win32/silcdefs.h create mode 100644 win32/trq_conf.h diff --git a/CHANGES b/CHANGES index b2cf8ffd..920e0637 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,10 @@ Mon Jul 23 10:12:37 EEST 2001 Pekka Riikonen MP library. The string conversion did not work when using specific base and the base is indicated in the string as well. + * Created win32/ directory which now includes MSVC++ specific + stuff so that toolkit (DLLs) may be compiled with MSVC++. + It will appear only in the toolkit distribution + Sun Jul 22 19:40:30 EEST 2001 Pekka Riikonen * Changed the key material distribution function in case when diff --git a/configure.in.pre b/configure.in.pre index 7f8835ac..637adb91 100644 --- a/configure.in.pre +++ b/configure.in.pre @@ -702,4 +702,7 @@ lib/silcutil/Makefile lib/silcutil/unix/Makefile lib/silcutil/win32/Makefile silc/Makefile -silcd/Makefile) +silcd/Makefile +win32/Makefile +win32/libsilc/Makefile +win32/libsilcclient/Makefile) diff --git a/distributions b/distributions index 74bcf730..89c96275 100644 --- a/distributions +++ b/distributions @@ -47,7 +47,7 @@ # # Default Toolkit distribution -_toolkit_SUBDIRS=lib irssi silc silcd doc includes +_toolkit_SUBDIRS=lib irssi silc silcd doc includes win32 _toolkit_SUBDIRS_lib=$(COMMONDIRS) _toolkit_SUBDIRS_doc=$(COMMONDIRS) _toolkit_DISTLABEL=SILC_DIST_TOOLKIT diff --git a/includes/Makefile.am b/includes/Makefile.am index 12cc20fa..2963892f 100644 --- a/includes/Makefile.am +++ b/includes/Makefile.am @@ -24,9 +24,10 @@ all: include_HEADERS = \ bitmove.h \ clientlibincludes.h \ - silcdefs.h \ silcincludes.h \ silcwin32.h \ version.h \ version_internal.h +EXTRA_DIST = \ + silcdefs.h.in diff --git a/lib/silcutil/silcnet.h b/lib/silcutil/silcnet.h index 949a4a60..4b1d410a 100644 --- a/lib/silcutil/silcnet.h +++ b/lib/silcutil/silcnet.h @@ -301,7 +301,7 @@ bool silc_net_win32_init(void); * this function the SILC Net API routines will not work anymore. * ***/ -void silc_net_win32_init(void); +void silc_net_win32_uninit(void); #endif diff --git a/win32/Makefile.am b/win32/Makefile.am new file mode 100644 index 00000000..d02e996f --- /dev/null +++ b/win32/Makefile.am @@ -0,0 +1,25 @@ +# +# Makefile.am +# +# Author: Pekka Riikonen +# +# Copyright (C) 2000 Pekka Riikonen +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign + +SUBDIRS = libsilc libsilcclient + +EXTRA_DIST = silcdefs.h trq_conf.h silc.dsw + +include $(top_srcdir)/Makefile.defines.in diff --git a/win32/libsilc/Makefile.am b/win32/libsilc/Makefile.am new file mode 100644 index 00000000..c74ad59b --- /dev/null +++ b/win32/libsilc/Makefile.am @@ -0,0 +1,24 @@ +# +# Makefile.am +# +# Author: Pekka Riikonen +# +# Copyright (C) 2000 Pekka Riikonen +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign + +EXTRA_DIST = *.dsp + +include $(top_srcdir)/Makefile.defines.in + diff --git a/win32/libsilc/libsilc.def b/win32/libsilc/libsilc.def new file mode 100644 index 00000000..3ff3521e --- /dev/null +++ b/win32/libsilc/libsilc.def @@ -0,0 +1,575 @@ +; +; Exports file for SILC Core DLL. +; +; This file is generated from MinGW compiled object files using the +; following command: +; +; dlltool --export-all --output-def libsilc.def libsilc.a +; +; ---------------------------------------------------------------------------- +; +; If you edit this file by adding or removing any exports be sure to +; preserve the ordinal values (the @ n in the exports) and add new exports +; always at the end of the list with new ordinal value. Do not ever +; add new export with old ordinal value if you need to preserve backwards +; compatiblity. -Pekka +; +EXPORTS + log_error_file @ 42 ; + log_error_size @ 43 ; + log_fatal_file @ 44 ; + log_fatal_size @ 45 ; + log_info_file @ 46 ; + log_info_size @ 47 ; + log_warning_file @ 49 ; + log_warning_size @ 50 ; + silc_aes_context_len @ 235 ; + silc_aes_decrypt_cbc @ 236 ; + silc_aes_encrypt_cbc @ 237 ; + silc_aes_set_key @ 238 ; + silc_aes_set_key_with_string @ 239 ; + silc_argument_get_arg_num @ 240 ; + silc_argument_get_arg_type @ 241 ; + silc_argument_get_first_arg @ 242 ; + silc_argument_get_next_arg @ 243 ; + silc_argument_payload_encode @ 244 ; + silc_argument_payload_encode_payload @ 245 ; + silc_argument_payload_free @ 246 ; + silc_argument_payload_parse @ 247 ; + silc_auth_get_data @ 248 ; + silc_auth_get_method @ 249 ; + silc_auth_payload_encode @ 250 ; + silc_auth_payload_free @ 251 ; + silc_auth_payload_parse @ 252 ; + silc_auth_public_key_auth_generate @ 253 ; + silc_auth_public_key_auth_verify @ 254 ; + silc_auth_public_key_auth_verify_data @ 255 ; + silc_auth_verify @ 256 ; + silc_auth_verify_data @ 257 ; + silc_blowfish_context_len @ 258 ; + silc_blowfish_decrypt_cbc @ 259 ; + silc_blowfish_encrypt_cbc @ 260 ; + silc_blowfish_set_key @ 261 ; + silc_blowfish_set_key_with_string @ 262 ; + silc_buffer_format @ 263 ; + silc_buffer_unformat @ 264 ; + silc_calloc @ 265 ; + silc_cast_context_len @ 266 ; + silc_cast_decrypt_cbc @ 267 ; + silc_cast_encrypt_cbc @ 268 ; + silc_cast_set_key @ 269 ; + silc_cast_set_key_with_string @ 270 ; + silc_channel_get_id @ 271 ; + silc_channel_get_id_parse @ 272 ; + silc_channel_get_mode @ 273 ; + silc_channel_get_name @ 274 ; + silc_channel_key_get_cipher @ 275 ; + silc_channel_key_get_id @ 276 ; + silc_channel_key_get_key @ 277 ; + silc_channel_key_payload_encode @ 278 ; + silc_channel_key_payload_free @ 279 ; + silc_channel_key_payload_parse @ 280 ; + silc_channel_mesage_get_mac @ 281 ; + silc_channel_message_get_data @ 282 ; + silc_channel_message_get_flags @ 283 ; + silc_channel_message_get_iv @ 284 ; + silc_channel_message_payload_decrypt @ 285 ; + silc_channel_message_payload_encode @ 286 ; + silc_channel_message_payload_free @ 287 ; + silc_channel_message_payload_parse @ 288 ; + silc_channel_payload_encode @ 289 ; + silc_channel_payload_free @ 290 ; + silc_channel_payload_list_free @ 291 ; + silc_channel_payload_parse @ 292 ; + silc_channel_payload_parse_list @ 293 ; + silc_check_line @ 294 ; + silc_cipher_alloc @ 295 ; + silc_cipher_decrypt @ 296 ; + silc_cipher_encrypt @ 297 ; + silc_cipher_free @ 298 ; + silc_cipher_get_block_len @ 299 ; + silc_cipher_get_iv @ 300 ; + silc_cipher_get_key_len @ 301 ; + silc_cipher_get_supported @ 302 ; + silc_cipher_is_supported @ 303 ; + silc_cipher_list @ 304 ; + silc_cipher_register @ 305 ; + silc_cipher_register_default @ 306 ; + silc_cipher_set_iv @ 307 ; + silc_cipher_set_key @ 308 ; + silc_cipher_unregister @ 309 ; + silc_client_chmode @ 310 ; + silc_client_chumode @ 311 ; + silc_client_chumode_char @ 312 ; + silc_command_get @ 313 ; + silc_command_get_args @ 314 ; + silc_command_get_ident @ 315 ; + silc_command_payload_encode @ 316 ; + silc_command_payload_encode_payload @ 317 ; + silc_command_payload_encode_va @ 318 ; + silc_command_payload_encode_vap @ 319 ; + silc_command_payload_free @ 320 ; + silc_command_payload_parse @ 321 ; + silc_command_reply_payload_encode_va @ 322 ; + silc_command_set_command @ 323 ; + silc_command_set_ident @ 324 ; + silc_config_check_num_token @ 325 ; + silc_config_get_token @ 326 ; + silc_config_open @ 327 ; + silc_debug @ 328 ; + silc_decode_pem @ 329 ; + silc_default_ciphers @ 330 ; + silc_default_hash @ 331 ; + silc_default_hmacs @ 332 ; + silc_default_pkcs @ 333 ; + silc_encode_pem @ 334 ; + silc_encode_pem_file @ 335 ; + silc_file_read @ 336 ; + silc_file_write @ 337 ; + silc_file_write_mode @ 338 ; + silc_format @ 339 ; + silc_free @ 340 ; + silc_get_time @ 341 ; + silc_gets @ 342 ; + silc_gettimeofday @ 343 ; + silc_hash_alloc @ 344 ; + silc_hash_client_id_compare @ 345 ; + silc_hash_data @ 346 ; + silc_hash_data_compare @ 347 ; + silc_hash_fingerprint @ 348 ; + silc_hash_free @ 349 ; + silc_hash_get_supported @ 350 ; + silc_hash_id @ 351 ; + silc_hash_id_compare @ 352 ; + silc_hash_is_supported @ 353 ; + silc_hash_len @ 354 ; + silc_hash_list @ 355 ; + silc_hash_make @ 356 ; + silc_hash_ptr @ 357 ; + silc_hash_register @ 358 ; + silc_hash_register_default @ 359 ; + silc_hash_string @ 360 ; + silc_hash_string_compare @ 361 ; + silc_hash_table_add @ 362 ; + silc_hash_table_add_ext @ 363 ; + silc_hash_table_alloc @ 364 ; + silc_hash_table_count @ 365 ; + silc_hash_table_del @ 366 ; + silc_hash_table_del_by_context @ 367 ; + silc_hash_table_del_by_context_ext @ 368 ; + silc_hash_table_del_ext @ 369 ; + silc_hash_table_find @ 370 ; + silc_hash_table_find_ext @ 371 ; + silc_hash_table_find_foreach @ 372 ; + silc_hash_table_find_foreach_ext @ 373 ; + silc_hash_table_foreach @ 374 ; + silc_hash_table_free @ 375 ; + silc_hash_table_get @ 376 ; + silc_hash_table_list @ 377 ; + silc_hash_table_rehash @ 378 ; + silc_hash_table_rehash_ext @ 379 ; + silc_hash_table_replace @ 380 ; + silc_hash_table_replace_ext @ 381 ; + silc_hash_table_size @ 382 ; + silc_hash_uint @ 383 ; + silc_hash_unregister @ 384 ; + silc_hmac_alloc @ 385 ; + silc_hmac_free @ 386 ; + silc_hmac_get_supported @ 387 ; + silc_hmac_is_supported @ 388 ; + silc_hmac_len @ 389 ; + silc_hmac_list @ 390 ; + silc_hmac_make @ 391 ; + silc_hmac_make_internal @ 392 ; + silc_hmac_make_truncated @ 393 ; + silc_hmac_make_with_key @ 394 ; + silc_hmac_register @ 395 ; + silc_hmac_register_default @ 396 ; + silc_hmac_set_key @ 397 ; + silc_hmac_unregister @ 398 ; + silc_id_dup @ 399 ; + silc_id_get_len @ 400 ; + silc_id_id2str @ 401 ; + silc_id_payload_encode @ 402 ; + silc_id_payload_free @ 403 ; + silc_id_payload_get_data @ 404 ; + silc_id_payload_get_id @ 405 ; + silc_id_payload_get_len @ 406 ; + silc_id_payload_get_type @ 407 ; + silc_id_payload_parse @ 408 ; + silc_id_payload_parse_data @ 409 ; + silc_id_payload_parse_id @ 410 ; + silc_id_render @ 411 ; + silc_id_str2id @ 412 ; + silc_idcache_add @ 413 ; + silc_idcache_alloc @ 414 ; + silc_idcache_del @ 415 ; + silc_idcache_del_all @ 416 ; + silc_idcache_del_by_context @ 417 ; + silc_idcache_del_by_id @ 418 ; + silc_idcache_del_by_id_ext @ 419 ; + silc_idcache_find_by_context @ 420 ; + silc_idcache_find_by_id @ 421 ; + silc_idcache_find_by_id_one @ 422 ; + silc_idcache_find_by_id_one_ext @ 423 ; + silc_idcache_find_by_name @ 424 ; + silc_idcache_find_by_name_one @ 425 ; + silc_idcache_free @ 426 ; + silc_idcache_get_all @ 427 ; + silc_idcache_list_count @ 428 ; + silc_idcache_list_first @ 429 ; + silc_idcache_list_free @ 430 ; + silc_idcache_list_next @ 431 ; + silc_idcache_purge @ 432 ; + silc_idcache_purge_by_context @ 433 ; + silc_key_agreement_get_hostname @ 434 ; + silc_key_agreement_get_port @ 435 ; + silc_key_agreement_payload_encode @ 436 ; + silc_key_agreement_payload_free @ 437 ; + silc_key_agreement_payload_parse @ 438 ; + silc_log_output @ 439 ; + silc_log_output_debug @ 440 ; + silc_log_output_hexdump @ 441 ; + silc_log_reset_callbacks @ 442 ; + silc_log_reset_debug_callbacks @ 443 ; + silc_log_set_callbacks @ 444 ; + silc_log_set_debug_callbacks @ 445 ; + silc_log_set_files @ 446 ; + silc_log_types @ 447 ; + silc_malloc @ 448 ; + silc_mars_context_len @ 449 ; + silc_mars_decrypt_cbc @ 450 ; + silc_mars_encrypt_cbc @ 451 ; + silc_mars_set_key @ 452 ; + silc_mars_set_key_with_string @ 453 ; + silc_math_gen_prime @ 454 ; + silc_math_prime_test @ 455 ; + silc_md5_context_len @ 456 ; + silc_md5_final @ 457 ; + silc_md5_init @ 458 ; + silc_md5_transform @ 459 ; + silc_md5_update @ 460 ; + silc_mp_abs @ 461 ; + silc_mp_add @ 462 ; + silc_mp_add_ui @ 463 ; + silc_mp_and @ 464 ; + silc_mp_bin2mp @ 465 ; + silc_mp_cmp @ 466 ; + silc_mp_cmp_si @ 467 ; + silc_mp_cmp_ui @ 468 ; + silc_mp_div @ 469 ; + silc_mp_div_2exp @ 470 ; + silc_mp_div_2exp_qr @ 471 ; + silc_mp_div_qr @ 472 ; + silc_mp_div_ui @ 473 ; + silc_mp_gcd @ 474 ; + silc_mp_gcdext @ 475 ; + silc_mp_get_str @ 476 ; + silc_mp_get_ui @ 477 ; + silc_mp_init @ 478 ; + silc_mp_mod @ 479 ; + silc_mp_mod_2exp @ 480 ; + silc_mp_mod_ui @ 481 ; + silc_mp_modinv @ 482 ; + silc_mp_mp2bin @ 483 ; + silc_mp_mp2bin_noalloc @ 484 ; + silc_mp_mul @ 485 ; + silc_mp_mul_2exp @ 486 ; + silc_mp_mul_ui @ 487 ; + silc_mp_neg @ 488 ; + silc_mp_or @ 489 ; + silc_mp_pow @ 490 ; + silc_mp_pow_mod @ 491 ; + silc_mp_pow_mod_ui @ 492 ; + silc_mp_pow_ui @ 493 ; + silc_mp_set @ 494 ; + silc_mp_set_si @ 495 ; + silc_mp_set_str @ 496 ; + silc_mp_set_ui @ 497 ; + silc_mp_size @ 498 ; + silc_mp_sizeinbase @ 499 ; + silc_mp_sqrt @ 500 ; + silc_mp_sub @ 501 ; + silc_mp_sub_ui @ 502 ; + silc_mp_uninit @ 503 ; + silc_mp_xor @ 504 ; + silc_mutex_alloc @ 505 ; + silc_mutex_free @ 506 ; + silc_mutex_lock @ 507 ; + silc_mutex_unlock @ 508 ; + silc_net_accept_connection @ 509 ; + silc_net_addr2bin @ 510 ; + silc_net_check_host_by_sock @ 511 ; + silc_net_check_local_by_sock @ 512 ; + silc_net_close_connection @ 513 ; + silc_net_close_server @ 514 ; + silc_net_create_connection @ 515 ; + silc_net_create_connection_async @ 516 ; + silc_net_create_server @ 517 ; + silc_net_get_local_port @ 518 ; + silc_net_get_remote_port @ 519 ; + silc_net_get_socket_opt @ 520 ; + silc_net_is_ip @ 521 ; + silc_net_localhost @ 522 ; + silc_net_set_socket_nonblock @ 523 ; + silc_net_set_socket_opt @ 524 ; + silc_net_win32_init @ 525 ; + silc_net_win32_uninit @ 526 ; + silc_none_context_len @ 527 ; + silc_none_decrypt_cbc @ 528 ; + silc_none_encrypt_cbc @ 529 ; + silc_none_set_key @ 530 ; + silc_none_set_key_with_string @ 531 ; + silc_notify_get_arg_num @ 532 ; + silc_notify_get_args @ 533 ; + silc_notify_get_type @ 534 ; + silc_notify_payload_encode @ 535 ; + silc_notify_payload_encode_args @ 536 ; + silc_notify_payload_free @ 537 ; + silc_notify_payload_parse @ 538 ; + silc_packet_assemble @ 539 ; + silc_packet_context_alloc @ 540 ; + silc_packet_context_dup @ 541 ; + silc_packet_context_free @ 542 ; + silc_packet_decrypt @ 543 ; + silc_packet_encrypt @ 544 ; + silc_packet_parse @ 545 ; + silc_packet_parse_special @ 546 ; + silc_packet_receive @ 547 ; + silc_packet_receive_process @ 548 ; + silc_packet_send @ 549 ; + silc_packet_send_prepare @ 550 ; + silc_parse_command_line @ 551 ; + silc_parse_nickname @ 552 ; + silc_pkcs1_decrypt @ 553 ; + silc_pkcs1_encrypt @ 554 ; + silc_pkcs1_sign @ 555 ; + silc_pkcs1_verify @ 556 ; + silc_pkcs_alloc @ 557 ; + silc_pkcs_decode_identifier @ 558 ; + silc_pkcs_decrypt @ 559 ; + silc_pkcs_encode_identifier @ 560 ; + silc_pkcs_encrypt @ 561 ; + silc_pkcs_free @ 562 ; + silc_pkcs_free_identifier @ 563 ; + silc_pkcs_get_key_len @ 564 ; + silc_pkcs_get_private_key @ 565 ; + silc_pkcs_get_public_key @ 566 ; + silc_pkcs_get_supported @ 567 ; + silc_pkcs_is_supported @ 568 ; + silc_pkcs_list @ 569 ; + silc_pkcs_load_private_key @ 570 ; + silc_pkcs_load_public_key @ 571 ; + silc_pkcs_private_key_alloc @ 572 ; + silc_pkcs_private_key_data_encode @ 573 ; + silc_pkcs_private_key_data_set @ 574 ; + silc_pkcs_private_key_decode @ 575 ; + silc_pkcs_private_key_encode @ 576 ; + silc_pkcs_private_key_free @ 577 ; + silc_pkcs_private_key_set @ 578 ; + silc_pkcs_public_key_alloc @ 579 ; + silc_pkcs_public_key_data_encode @ 580 ; + silc_pkcs_public_key_data_set @ 581 ; + silc_pkcs_public_key_decode @ 582 ; + silc_pkcs_public_key_encode @ 583 ; + silc_pkcs_public_key_free @ 584 ; + silc_pkcs_public_key_set @ 585 ; + silc_pkcs_register @ 586 ; + silc_pkcs_register_default @ 587 ; + silc_pkcs_save_private_key @ 588 ; + silc_pkcs_save_private_key_data @ 589 ; + silc_pkcs_save_public_key @ 590 ; + silc_pkcs_save_public_key_data @ 591 ; + silc_pkcs_sign @ 592 ; + silc_pkcs_sign_with_hash @ 593 ; + silc_pkcs_unregister @ 594 ; + silc_pkcs_verify @ 595 ; + silc_pkcs_verify_with_hash @ 596 ; + silc_private_message_get_flags @ 597 ; + silc_private_message_get_message @ 598 ; + silc_private_message_payload_encode @ 599 ; + silc_private_message_payload_free @ 600 ; + silc_private_message_payload_parse @ 601 ; + silc_protocol_alloc @ 602 ; + silc_protocol_cancel @ 603 ; + silc_protocol_execute @ 604 ; + silc_protocol_execute_final @ 605 ; + silc_protocol_free @ 606 ; + silc_protocol_list @ 607 ; + silc_protocol_register @ 608 ; + silc_protocol_unregister @ 609 ; + silc_rc5_context_len @ 610 ; + silc_rc5_decrypt_cbc @ 611 ; + silc_rc5_encrypt_cbc @ 612 ; + silc_rc5_set_key @ 613 ; + silc_rc5_set_key_with_string @ 614 ; + silc_rc6_context_len @ 615 ; + silc_rc6_decrypt_cbc @ 616 ; + silc_rc6_encrypt_cbc @ 617 ; + silc_rc6_set_key @ 618 ; + silc_rc6_set_key_with_string @ 619 ; + silc_realloc @ 620 ; + silc_rng_add_noise @ 621 ; + silc_rng_alloc @ 622 ; + silc_rng_free @ 623 ; + silc_rng_get_byte @ 624 ; + silc_rng_get_rn16 @ 625 ; + silc_rng_get_rn32 @ 626 ; + silc_rng_get_rn_data @ 627 ; + silc_rng_get_rn_string @ 628 ; + silc_rng_global_add_noise @ 629 ; + silc_rng_global_get_byte @ 630 ; + silc_rng_global_get_rn16 @ 631 ; + silc_rng_global_get_rn32 @ 632 ; + silc_rng_global_get_rn_data @ 633 ; + silc_rng_global_get_rn_string @ 634 ; + silc_rng_global_init @ 635 ; + silc_rng_global_uninit @ 636 ; + silc_rng_init @ 637 ; + silc_rsa_clear_keys @ 638 ; + silc_rsa_context_len @ 639 ; + silc_rsa_decrypt @ 640 ; + silc_rsa_encrypt @ 641 ; + silc_rsa_get_private_key @ 642 ; + silc_rsa_get_public_key @ 643 ; + silc_rsa_init @ 644 ; + silc_rsa_set_private_key @ 645 ; + silc_rsa_set_public_key @ 646 ; + silc_rsa_sign @ 647 ; + silc_rsa_verify @ 648 ; + silc_schedule @ 649 ; + silc_schedule_init @ 650 ; + silc_schedule_one @ 651 ; + silc_schedule_set_listen_fd @ 652 ; + silc_schedule_stop @ 653 ; + silc_schedule_task_add @ 654 ; + silc_schedule_task_del @ 655 ; + silc_schedule_task_del_by_callback @ 656 ; + silc_schedule_task_del_by_context @ 657 ; + silc_schedule_task_del_by_fd @ 658 ; + silc_schedule_uninit @ 659 ; + silc_schedule_unset_listen_fd @ 660 ; + silc_schedule_wakeup @ 661 ; + silc_schedule_wakeup_init @ 662 ; + silc_schedule_wakeup_internal @ 663 ; + silc_schedule_wakeup_uninit @ 664 ; + silc_select @ 665 ; + silc_sha1_context_len @ 666 ; + silc_sha1_final @ 667 ; + silc_sha1_init @ 668 ; + silc_sha1_transform @ 669 ; + silc_sha1_update @ 670 ; + silc_ske_abort @ 671 ; + silc_ske_alloc @ 672 ; + silc_ske_assemble_security_properties @ 673 ; + silc_ske_create_rnd @ 674 ; + silc_ske_end @ 675 ; + silc_ske_free @ 676 ; + silc_ske_free_key_material @ 677 ; + silc_ske_get_group_by_name @ 678 ; + silc_ske_get_group_by_number @ 679 ; + silc_ske_get_supported_groups @ 680 ; + silc_ske_group_get_number @ 681 ; + silc_ske_groups @ 682 ; + silc_ske_initiator_finish @ 683 ; + silc_ske_initiator_phase_1 @ 684 ; + silc_ske_initiator_phase_2 @ 685 ; + silc_ske_initiator_start @ 686 ; + silc_ske_make_hash @ 687 ; + silc_ske_payload_ke_decode @ 688 ; + silc_ske_payload_ke_encode @ 689 ; + silc_ske_payload_ke_free @ 690 ; + silc_ske_payload_start_decode @ 691 ; + silc_ske_payload_start_encode @ 692 ; + silc_ske_payload_start_free @ 693 ; + silc_ske_process_key_material @ 694 ; + silc_ske_process_key_material_data @ 695 ; + silc_ske_responder_finish @ 696 ; + silc_ske_responder_phase_1 @ 697 ; + silc_ske_responder_phase_2 @ 698 ; + silc_ske_responder_start @ 699 ; + silc_ske_select_security_properties @ 700 ; + silc_ske_set_callbacks @ 701 ; + silc_socket_alloc @ 702 ; + silc_socket_dup @ 703 ; + silc_socket_free @ 704 ; + silc_socket_host_lookup @ 705 ; + silc_socket_read @ 706 ; + silc_socket_set_heartbeat @ 707 ; + silc_socket_write @ 708 ; + silc_string_compare @ 709 ; + silc_thread_create @ 710 ; + silc_thread_exit @ 711 ; + silc_thread_self @ 712 ; + silc_thread_wait @ 713 ; + silc_to_upper @ 715 ; + silc_twofish_context_len @ 716 ; + silc_twofish_decrypt_cbc @ 717 ; + silc_twofish_encrypt_cbc @ 718 ; + silc_twofish_set_key @ 719 ; + silc_twofish_set_key_with_string @ 720 ; + trq_deque_bubblesort @ 724 ; + trq_deque_clear___func @ 725 ; + trq_deque_compatible___func @ 726 ; + trq_deque_empty_p___func @ 727 ; + trq_deque_find @ 728 ; + trq_deque_get_head___func @ 729 ; + trq_deque_get_nth @ 730 ; + trq_deque_get_tail___func @ 731 ; + trq_deque_in_order @ 732 ; + trq_deque_init_with_offset___func @ 733 ; + trq_deque_insert_head___func @ 734 ; + trq_deque_insert_in_order @ 735 ; + trq_deque_insert_nth @ 736 ; + trq_deque_insert_tail___func @ 737 ; + trq_deque_insertionsort @ 738 ; + trq_deque_join_head @ 739 ; + trq_deque_join_tail @ 740 ; + trq_deque_length___func @ 741 ; + trq_deque_mapcar @ 742 ; + trq_deque_mapcar_reverse @ 743 ; + trq_deque_member @ 744 ; + trq_deque_mergesort @ 745 ; + trq_deque_quicksort @ 746 ; + trq_deque_remove @ 747 ; + trq_deque_reverse___func @ 748 ; + trq_deque_swap @ 749 ; + trq_deque_to_list @ 750 ; + trq_list_bubblesort @ 751 ; + trq_list_bw @ 752 ; + trq_list_clear___func @ 753 ; + trq_list_compatible___func @ 754 ; + trq_list_current___func @ 755 ; + trq_list_end___func @ 756 ; + trq_list_find @ 757 ; + trq_list_fw @ 758 ; + trq_list_get_bw___func @ 759 ; + trq_list_get_fw___func @ 760 ; + trq_list_get_head___func @ 761 ; + trq_list_get_nth @ 762 ; + trq_list_get_tail___func @ 763 ; + trq_list_in_order @ 764 ; + trq_list_insert_head___func @ 765 ; + trq_list_insert_in_order @ 766 ; + trq_list_insert_nth @ 767 ; + trq_list_insert_tail___func @ 768 ; + trq_list_insertionsort @ 769 ; + trq_list_join_head @ 770 ; + trq_list_join_tail @ 771 ; + trq_list_length___func @ 772 ; + trq_list_mapcar @ 773 ; + trq_list_mapcar_reverse @ 774 ; + trq_list_member @ 775 ; + trq_list_mergesort @ 776 ; + trq_list_pointer_invalidate___func @ 777 ; + trq_list_pointer_valid___func @ 778 ; + trq_list_put_after___func @ 779 ; + trq_list_put_before___func @ 780 ; + trq_list_quicksort @ 781 ; + trq_list_remove___func @ 782 ; + trq_list_reverse @ 783 ; + trq_list_rewind___func @ 784 ; + trq_list_rewind_find @ 785 ; + trq_list_rewind_to @ 786 ; + trq_list_swap @ 787 ; + trq_list_to_deque @ 788 ; diff --git a/win32/libsilc/libsilc.dsp b/win32/libsilc/libsilc.dsp new file mode 100644 index 00000000..7cf3e839 --- /dev/null +++ b/win32/libsilc/libsilc.dsp @@ -0,0 +1,819 @@ +# Microsoft Developer Studio Project File - Name="libsilc" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=libsilc - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libsilc.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libsilc.mak" CFG="libsilc - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libsilc - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "libsilc - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libsilc - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILC_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W2 /GX /O2 /I ".\\" /I "..\\" /I "..\..\\" /I "..\..\includes" /I "..\..\lib\silccore" /I "..\..\lib\silcske" /I "..\..\lib\silcmath" /I "..\..\lib\silcmath\mpi" /I "..\..\lib\silcutil" /I "..\..\lib\silccrypt" /I "..\..\lib\silcsim" /I "..\..\lib\trq" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILC_EXPORTS" /D "MP_API_COMPATIBLE" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /dll /machine:I386 /def:"libsilc.def" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "libsilc - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILC_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W2 /Gm /GX /ZI /Od /I ".\\" /I "..\\" /I "..\..\\" /I "..\..\includes" /I "..\..\lib\silccore" /I "..\..\lib\silcske" /I "..\..\lib\silcmath" /I "..\..\lib\silcmath\mpi" /I "..\..\lib\silcutil" /I "..\..\lib\silccrypt" /I "..\..\lib\silcsim" /I "..\..\lib\trq" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILC_EXPORTS" /D "MP_API_COMPATIBLE" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /dll /debug /machine:I386 /def:"libsilc.def" /pdbtype:sept +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "libsilc - Win32 Release" +# Name "libsilc - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Group "silccore" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silccore\silcauth.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcchannel.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silccommand.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcid.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcidcache.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcnotify.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcpacket.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcpayload.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcprivate.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcprotocol.c +# End Source File +# End Group +# Begin Group "silcske" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcske\groups.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcske\payload.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcske\silcske.c +# End Source File +# End Group +# Begin Group "silcutil" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcbuffmt.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcconfig.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silchashtable.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silclog.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcmemory.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcnet.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcschedule.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcsockconn.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcutil.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\win32\silcwin32mutex.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\win32\silcwin32net.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\win32\silcwin32schedule.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\win32\silcwin32sockconn.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\win32\silcwin32thread.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\win32\silcwin32util.c +# End Source File +# End Group +# Begin Group "silcmath" + +# PROP Default_Filter "" +# Begin Group "mpi" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mpi.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mplogic.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mpmontg.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mpprime.c +# End Source File +# End Group +# Begin Source File + +SOURCE=..\..\lib\silcmath\modinv.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mp_mpi.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpbin.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\silcprimegen.c +# End Source File +# End Group +# Begin Group "silccrypt" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silccrypt\aes.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\blowfish.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\cast.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\mars.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\md5.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\none.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\pkcs1.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rc5.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rc6.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rsa.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\sha1.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silccipher.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silchash.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silchmac.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silcpkcs.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silcrng.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\twofish.c +# End Source File +# End Group +# Begin Group "trq" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_sort.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_001.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_002.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_003.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_004.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_005.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_006.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_007.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_008.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_009.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x_010.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_sort.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_001.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_002.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_003.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_004.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_005.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_006.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_007.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_008.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_009.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_010.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_011.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_012.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_013.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_014.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_015.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x_016.c +# End Source File +# End Group +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Group "silccore No. 1" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silccore\silcauth.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcchannel.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silccommand.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcid.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcidcache.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcmode.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcnotify.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcpacket.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcpayload.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcprivate.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccore\silcprotocol.h +# End Source File +# End Group +# Begin Group "silcske No. 1" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcske\groups.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcske\groups_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcske\payload.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcske\silcske.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcske\silcske_status.h +# End Source File +# End Group +# Begin Group "silcutil No. 1" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcbuffer.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcbuffmt.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcbufutil.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcconfig.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silchashtable.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silclog.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcmemory.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcmutex.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcnet.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcschedule.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcschedule_i.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcsockconn.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcthread.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcutil\silcutil.h +# End Source File +# End Group +# Begin Group "silcmath No. 1" + +# PROP Default_Filter "" +# Begin Group "mpi No. 1" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\logtab.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\montmulf.h +# End Source File +# Begin Source File + +SOURCE="..\..\lib\silcmath\mpi\mpi-config.h" +# End Source File +# Begin Source File + +SOURCE="..\..\lib\silcmath\mpi\mpi-priv.h" +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mpi.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mplogic.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\mpi\mpprime.h +# End Source File +# End Group +# Begin Source File + +SOURCE=..\..\lib\silcmath\mp_mpi.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\silcmath.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcmath\silcmp.h +# End Source File +# End Group +# Begin Group "silccrypt No. 1" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silccrypt\aes.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\blowfish.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\blowfish_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\cast.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\cast_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\ciphers.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\ciphers_def.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\mars.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\mars_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\md5.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\md5_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\none.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\pkcs1.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rc5.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rc5_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rc6.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rc6_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rijndael_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rsa.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\rsa_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\sha1.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\sha1_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silccipher.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silcdh.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silchash.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silchmac.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silcpkcs.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\silcrng.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\twofish.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silccrypt\twofish_internal.h +# End Source File +# End Group +# Begin Group "trq No. 1" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\trq\silcdlist.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\silclist.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_conf.h.sample +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_f.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_deque_x.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_f.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\trq\trq_list_x.h +# End Source File +# End Group +# Begin Source File + +SOURCE=..\silcdefs.h +# End Source File +# Begin Source File + +SOURCE=..\trq_conf.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/libsilcclient/Makefile.am b/win32/libsilcclient/Makefile.am new file mode 100644 index 00000000..c74ad59b --- /dev/null +++ b/win32/libsilcclient/Makefile.am @@ -0,0 +1,24 @@ +# +# Makefile.am +# +# Author: Pekka Riikonen +# +# Copyright (C) 2000 Pekka Riikonen +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign + +EXTRA_DIST = *.dsp + +include $(top_srcdir)/Makefile.defines.in + diff --git a/win32/libsilcclient/libsilcclient.def b/win32/libsilcclient/libsilcclient.def new file mode 100644 index 00000000..641f56fd --- /dev/null +++ b/win32/libsilcclient/libsilcclient.def @@ -0,0 +1,155 @@ +; +; Exports file for SILC Client DLL. +; +; This file is generated from MinGW compiled object files using the +; following command: +; +; dlltool --export-all --output-def libsilc.def libsilc.a +; +; ---------------------------------------------------------------------------- +; +; If you edit this file by adding or removing any exports be sure to +; preserve the ordinal values (the @ n in the exports) and add new exports +; always at the end of the list with new ordinal value. Do not ever +; add new export with old ordinal value if you need to preserve backwards +; compatiblity. -Pekka +; +EXPORTS + silc_ske_check_version @ 1 ; + silc_client_add_channel_private_key @ 2 ; + silc_client_add_connection @ 3 ; + silc_client_add_private_message_key @ 4 ; + silc_client_add_private_message_key_ske @ 5 ; + silc_client_add_socket @ 6 ; + silc_client_alloc @ 7 ; + silc_client_channel_message @ 8 ; + silc_client_close_connection @ 9 ; + silc_client_command_alloc @ 10 ; + silc_client_command_ban @ 11 ; + silc_client_command_close @ 12 ; + silc_client_command_cmode @ 13 ; + silc_client_command_connect @ 14 ; + silc_client_command_cumode @ 15 ; + silc_client_command_dup @ 16 ; + silc_client_command_find @ 17 ; + silc_client_command_free @ 18 ; + silc_client_command_get_channel_by_id_callback @ 19 ; + silc_client_command_get_client_by_id_callback @ 20 ; + silc_client_command_get_client_callback @ 21 ; + silc_client_command_get_clients_list_callback @ 22 ; + silc_client_command_getkey @ 23 ; + silc_client_command_identify @ 24 ; + silc_client_command_info @ 25 ; + silc_client_command_invite @ 26 ; + silc_client_command_join @ 27 ; + silc_client_command_kick @ 28 ; + silc_client_command_kill @ 29 ; + silc_client_command_leave @ 30 ; + silc_client_command_list @ 31 ; + silc_client_command_motd @ 32 ; + silc_client_command_nick @ 33 ; + silc_client_command_oper @ 34 ; + silc_client_command_pending @ 35 ; + silc_client_command_pending_check @ 36 ; + silc_client_command_pending_del @ 37 ; + silc_client_command_ping @ 38 ; + silc_client_command_quit @ 39 ; + silc_client_command_reply_ban @ 40 ; + silc_client_command_reply_close @ 41 ; + silc_client_command_reply_cmode @ 42 ; + silc_client_command_reply_connect @ 43 ; + silc_client_command_reply_cumode @ 44 ; + silc_client_command_reply_free @ 45 ; + silc_client_command_reply_getkey @ 46 ; + silc_client_command_reply_identify @ 47 ; + silc_client_command_reply_info @ 48 ; + silc_client_command_reply_invite @ 49 ; + silc_client_command_reply_join @ 50 ; + silc_client_command_reply_kick @ 51 ; + silc_client_command_reply_kill @ 52 ; + silc_client_command_reply_leave @ 53 ; + silc_client_command_reply_list @ 54 ; + silc_client_command_reply_motd @ 55 ; + silc_client_command_reply_nick @ 56 ; + silc_client_command_reply_oper @ 57 ; + silc_client_command_reply_ping @ 58 ; + silc_client_command_reply_process @ 59 ; + silc_client_command_reply_shutdown @ 60 ; + silc_client_command_reply_silcoper @ 61 ; + silc_client_command_reply_topic @ 62 ; + silc_client_command_reply_umode @ 63 ; + silc_client_command_reply_users @ 64 ; + silc_client_command_reply_whois @ 65 ; + silc_client_command_reply_whowas @ 66 ; + silc_client_command_shutdown @ 67 ; + silc_client_command_silcoper @ 68 ; + silc_client_command_status_message @ 69 ; + silc_client_command_topic @ 70 ; + silc_client_command_umode @ 71 ; + silc_client_command_users @ 72 ; + silc_client_command_whois @ 73 ; + silc_client_command_whowas @ 74 ; + silc_client_connect_to_server @ 75 ; + silc_client_del_channel @ 76 ; + silc_client_del_channel_private_key @ 77 ; + silc_client_del_channel_private_keys @ 78 ; + silc_client_del_client @ 79 ; + silc_client_del_client_entry @ 80 ; + silc_client_del_connection @ 81 ; + silc_client_del_private_message_key @ 82 ; + silc_client_del_server @ 83 ; + silc_client_del_socket @ 84 ; + silc_client_disconnected_by_server @ 85 ; + silc_client_error_by_server @ 86 ; + silc_client_free @ 87 ; + silc_client_free_channel_private_keys @ 88 ; + silc_client_free_private_message_keys @ 89 ; + silc_client_get_channel @ 90 ; + silc_client_get_channel_by_id @ 91 ; + silc_client_get_channel_by_id_resolve @ 92 ; + silc_client_get_client_by_id @ 93 ; + silc_client_get_client_by_id_resolve @ 94 ; + silc_client_get_clients @ 95 ; + silc_client_get_clients_by_list @ 96 ; + silc_client_get_clients_local @ 97 ; + silc_client_get_server @ 98 ; + silc_client_get_server_by_id @ 99 ; + silc_client_init @ 100 ; + silc_client_key_agreement @ 101 ; + silc_client_list_channel_private_keys @ 102 ; + silc_client_list_private_message_keys @ 103 ; + silc_client_new_channel_id @ 104 ; + silc_client_notify_by_server @ 105 ; + silc_client_packet_process @ 106 ; + silc_client_packet_send @ 107 ; + silc_client_packet_send_real @ 108 ; + silc_client_perform_key_agreement @ 109 ; + silc_client_perform_key_agreement_fd @ 110 ; + silc_client_private_message @ 111 ; + silc_client_private_message_key @ 112 ; + silc_client_process_failure @ 113 ; + silc_client_protocol_ke_send_packet @ 114 ; + silc_client_protocol_ke_set_keys @ 115 ; + silc_client_protocol_ke_verify_key @ 116 ; + silc_client_protocols_register @ 117 ; + silc_client_protocols_unregister @ 118 ; + silc_client_receive_channel_key @ 119 ; + silc_client_receive_new_id @ 120 ; + silc_client_remove_from_channels @ 121 ; + silc_client_replace_from_channels @ 122 ; + silc_client_run @ 123 ; + silc_client_save_channel_key @ 124 ; + silc_client_send_channel_message @ 125 ; + silc_client_send_command @ 126 ; + silc_client_send_key_agreement @ 127 ; + silc_client_send_private_message @ 128 ; + silc_client_send_private_message_key @ 129 ; + silc_client_set_away_message @ 130 ; + silc_client_start_key_exchange @ 131 ; + silc_client_stop @ 132 ; + silc_command_list @ 133 ; + silc_command_reply_list @ 134 ; + silc_command_status_messages @ 135 ; + silc_idlist_get_channel_by_id @ 136 ; + silc_idlist_get_client @ 137 ; + silc_client_abort_key_agreement @ 138 ; diff --git a/win32/libsilcclient/libsilcclient.dsp b/win32/libsilcclient/libsilcclient.dsp new file mode 100644 index 00000000..b5e8a91f --- /dev/null +++ b/win32/libsilcclient/libsilcclient.dsp @@ -0,0 +1,176 @@ +# Microsoft Developer Studio Project File - Name="libsilcclient" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=libsilcclient - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libsilcclient.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libsilcclient.mak" CFG="libsilcclient - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libsilcclient - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "libsilcclient - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libsilcclient - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILCCLIENT_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W2 /GX /O2 /I ".\\" /I "..\\" /I "..\..\\" /I "..\..\includes" /I "..\..\lib\silccore" /I "..\..\lib\silcske" /I "..\..\lib\silcmath" /I "..\..\lib\silcmath\mpi" /I "..\..\lib\silcutil" /I "..\..\lib\silccrypt" /I "..\..\lib\silcsim" /I "..\..\lib\trq" /I "..\..\lib\silcclient" /D "NDEBUG" /D "MP_API_COMPATIBLE" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILCCLIENT_EXPORTS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib ..\libsilc\Release\libsilc.lib /nologo /dll /machine:I386 /def:"libsilcclient.def" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "libsilcclient - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILCCLIENT_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W2 /Gm /GX /ZI /Od /I ".\\" /I "..\\" /I "..\..\\" /I "..\..\includes" /I "..\..\lib\silccore" /I "..\..\lib\silcske" /I "..\..\lib\silcmath" /I "..\..\lib\silcmath\mpi" /I "..\..\lib\silcutil" /I "..\..\lib\silccrypt" /I "..\..\lib\silcsim" /I "..\..\lib\trq" /I "..\..\lib\silcclient" /D "_DEBUG" /D "MP_API_COMPATIBLE" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBSILCCLIENT_EXPORTS" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib ..\libsilc\Debug\libsilc.lib /nologo /dll /debug /machine:I386 /def:"libsilcclient.def" /pdbtype:sept +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "libsilcclient - Win32 Release" +# Name "libsilcclient - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Group "silcclient" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcclient\client.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\client_channel.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\client_keyagr.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\client_notify.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\client_prvmsg.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\command.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\command_reply.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\idlist.c +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\protocol.c +# End Source File +# End Group +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Group "silccliente" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\lib\silcclient\client.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\client_internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\command.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\command_reply.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\idlist.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\protocol.h +# End Source File +# Begin Source File + +SOURCE=..\..\lib\silcclient\silcapi.h +# End Source File +# End Group +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/silc.dsw b/win32/silc.dsw new file mode 100644 index 00000000..a8cbf4ac --- /dev/null +++ b/win32/silc.dsw @@ -0,0 +1,41 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "libsilc"=".\libsilc\libsilc.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libsilcclient"=".\libsilcclient\libsilcclient.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/win32/silcdefs.h b/win32/silcdefs.h new file mode 100644 index 00000000..fd58aefc --- /dev/null +++ b/win32/silcdefs.h @@ -0,0 +1,319 @@ +/* includes/silcdefs.h. Generated automatically by configure. */ +/* includes/silcdefs.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* Define to `int' if doesn't define. */ +/* #undef mode_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define as the return type of signal handlers (int or void). */ +#define RETSIGTYPE void + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* Define if the `S_IS*' macros in do not work properly. */ +/* #undef STAT_MACROS_BROKEN */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Debugging */ +/* #undef SILC_DEBUG */ + +/* Default configuration file */ +/* #undef SILC_SERVER_CONFIG_FILE */ + +/* Multi-thread support */ +#define SILC_THREADS 1 + +/* Default paths */ +#define SILC_ETCDIR "/etc/silc" +#define SILC_HELPDIR "help" +#define SILC_DOCDIR "doc" +#define SILC_MODULESDIR "modules" +#define SILC_LOGSDIR "logs" + +/* SIM (SILC Module) support */ +/* #undef SILC_SIM */ +/* #undef HAVE_RTLD_NOW */ +/* #undef HAVE_RTLD_LAZY */ + +/* Types */ +#define SILC_SIZEOF_LONG_LONG 8 +#define SILC_SIZEOF_LONG 4 +#define SILC_SIZEOF_INT 4 +#define SILC_SIZEOF_SHORT 2 +#define SILC_SIZEOF_CHAR 1 +#define SILC_SIZEOF_VOID_P 4 + +/* MP library */ +/* #undef SILC_MP_GMP */ +#define SILC_MP_NSS_MPI 1 + +/* Redefs for SOCKS5 library */ +/* macros/curses checks */ +/* #undef HAS_CURSES */ +/* #undef USE_SUNOS_CURSES */ +/* #undef USE_BSD_CURSES */ +/* #undef USE_SYSV_CURSES */ +/* #undef USE_NCURSES */ +/* #undef NO_COLOR_CURSES */ +/* #undef SCO_FLAVOR */ + +/* #undef SOCKS */ +/* #undef SOCKS5 */ +/* #undef Rconnect */ +/* #undef Rgetsockname */ +/* #undef Rgetpeername */ +/* #undef Rbind */ +/* #undef Raccept */ +/* #undef Rlisten */ +/* #undef Rselect */ +/* #undef Rrecvfrom */ +/* #undef Rsendto */ +/* #undef Rrecv */ +/* #undef Rsend */ +/* #undef Rread */ +/* #undef Rwrite */ +/* #undef Rrresvport */ +/* #undef Rshutdown */ +/* #undef Rlisten */ +/* #undef Rclose */ +/* #undef Rdup */ +/* #undef Rdup2 */ +/* #undef Rfclose */ +/* #undef Rgethostbyname */ + +/* Native WIN32 compilation (-mno-cygwin GCC option) under cygwin, though + the code compiles with any native WIN32 compiler. */ +#define SILC_WIN32 1 + +/* SILC distribution definitions (leave this at the end of file) */ +#define SILC_DIST_TOOLKIT 1 +/* #undef SILC_DIST_CLIENT */ +/* #undef SILC_DIST_SERVER */ +/* #undef SILC_DIST_WIN32DLL */ + +/* The number of bytes in a char. */ +#define SIZEOF_CHAR 1 + +/* The number of bytes in a int. */ +#define SIZEOF_INT 4 + +/* The number of bytes in a long. */ +#define SIZEOF_LONG 4 + +/* The number of bytes in a long long. */ +#define SIZEOF_LONG_LONG 8 + +/* The number of bytes in a short. */ +#define SIZEOF_SHORT 2 + +/* The number of bytes in a void *. */ +#define SIZEOF_VOID_P 4 + +/* Define if you have the bind function. */ +#define HAVE_BIND 1 + +/* Define if you have the chmod function. */ +#define HAVE_CHMOD 1 + +/* Define if you have the close function. */ +#define HAVE_CLOSE 1 + +/* Define if you have the connect function. */ +#define HAVE_CONNECT 1 + +/* Define if you have the ctime function. */ +#define HAVE_CTIME 1 + +/* Define if you have the fcntl function. */ +#define HAVE_FCNTL 1 + +/* Define if you have the fstat function. */ +#define HAVE_FSTAT 1 + +/* Define if you have the getenv function. */ +#define HAVE_GETENV 1 + +/* Define if you have the getgid function. */ +#define HAVE_GETGID 1 + +/* Define if you have the gethostbyaddr function. */ +#define HAVE_GETHOSTBYADDR 1 + +/* Define if you have the gethostname function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define if you have the getopt_long function. */ +#define HAVE_GETOPT_LONG 1 + +/* Define if you have the getpgid function. */ +#define HAVE_GETPGID 1 + +/* Define if you have the getpgrp function. */ +#define HAVE_GETPGRP 1 + +/* Define if you have the getpid function. */ +#define HAVE_GETPID 1 + +/* Define if you have the getservbyname function. */ +#define HAVE_GETSERVBYNAME 1 + +/* Define if you have the getservbyport function. */ +#define HAVE_GETSERVBYPORT 1 + +/* Define if you have the getsid function. */ +/* #undef HAVE_GETSID */ + +/* Define if you have the gettimeofday function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the getuid function. */ +#define HAVE_GETUID 1 + +/* Define if you have the listen function. */ +#define HAVE_LISTEN 1 + +/* Define if you have the memcpy function. */ +#define HAVE_MEMCPY 1 + +/* Define if you have the memmove function. */ +#define HAVE_MEMMOVE 1 + +/* Define if you have the memset function. */ +#define HAVE_MEMSET 1 + +/* Define if you have the mlock function. */ +/* #undef HAVE_MLOCK */ + +/* Define if you have the munlock function. */ +/* #undef HAVE_MUNLOCK */ + +/* Define if you have the pthread_create function. */ +#define HAVE_PTHREAD_CREATE 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the select function. */ +#define HAVE_SELECT 1 + +/* Define if you have the setsockopt function. */ +#define HAVE_SETSOCKOPT 1 + +/* Define if you have the shutdown function. */ +#define HAVE_SHUTDOWN 1 + +/* Define if you have the stat function. */ +#define HAVE_STAT 1 + +/* Define if you have the strchr function. */ +#define HAVE_STRCHR 1 + +/* Define if you have the strcpy function. */ +#define HAVE_STRCPY 1 + +/* Define if you have the strerror function. */ +#define HAVE_STRERROR 1 + +/* Define if you have the strncpy function. */ +#define HAVE_STRNCPY 1 + +/* Define if you have the strstr function. */ +#define HAVE_STRSTR 1 + +/* Define if you have the time function. */ +#define HAVE_TIME 1 + +/* Define if you have the header file. */ +#define HAVE_ARPA_INET_H 1 + +/* Define if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define if you have the header file. */ +#define HAVE_CTYPE_H 1 + +/* Define if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_GETOPT_H 1 + +/* Define if you have the header file. */ +#define HAVE_GRP_H 1 + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#define HAVE_NCURSES_H 1 + +/* Define if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* Define if you have the header file. */ +#define HAVE_NETINET_IN_H 1 + +/* Define if you have the header file. */ +#define HAVE_NETINET_TCP_H 1 + +/* Define if you have the header file. */ +#define HAVE_PATHS_H 1 + +/* Define if you have the header file. */ +#define HAVE_PTHREAD_H 1 + +/* Define if you have the header file. */ +#define HAVE_PWD_H 1 + +/* Define if you have the header file. */ +#define HAVE_REGEX_H 1 + +/* Define if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_TERMCAP_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 diff --git a/win32/trq_conf.h b/win32/trq_conf.h new file mode 100644 index 00000000..21c895f8 --- /dev/null +++ b/win32/trq_conf.h @@ -0,0 +1,62 @@ +/* -*- c -*- + * + * ---------------------------------------------------------------------- + * Deque for struct type with only one link pointer (x->next). + * ---------------------------------------------------------------------- + * Created : Fri Dec 5 11:19:37 1997 tri + * Last modified: Thu Apr 16 17:35:57 1998 tri + * ---------------------------------------------------------------------- + * Copyright © 1995-1998 + * Timo J. Rinne + * All rights reserved. See file COPYRIGHT for details. + * + * Address: Cirion oy, PO-BOX 250, 00121 Helsinki, Finland + * ---------------------------------------------------------------------- + * Any express or implied warranties are disclaimed. In no event + * shall the author be liable for any damages caused (directly or + * otherwise) by the use of this software. + * + * Please, send your patches to . + * ---------------------------------------------------------------------- + * + * $Id$ + * + * $Log$ + * Revision 1.1 2001/07/23 11:07:56 priikone + * updates. + * + * Revision 1.1.1.1 2000/10/31 19:59:30 priikone + * Imported TRQ and SilList and SilcDList API's. + * + * Revision 1.1 1998/04/16 14:39:42 tri + * Initial revision + * + * + */ +#ifndef __TRQ_CONF__H__ +#define __TRQ_CONF__H__ 1 + +/* + * stddef.h is included here if such file exists. + * offsetof should be defined there. + */ +#include + +/* + * If compiler supports inline functions, __TRQ__INLINE__FUNCTION__ + * is defined to the correct keyword. Usually this is defined + * as inline, __inline__ or __inline. If inline functions are + * not supported, __TRQ__INLINE__FUNCTION__ is undefined. + */ +#define __TRQ__INLINE__FUNCTION__ __inline + +typedef unsigned long trq_p_i_t; /* Integral type size of an pointer */ + +#ifdef offsetof +#define _Q_STRUCT_OFFSET(t, m) ((trq_p_i_t)(offsetof(t, m))) +#else +#define _Q_STRUCT_OFFSET(t, m) (((trq_p_i_t)(&(((t *)0)->m)))) +#endif + +#endif /* !__TRQ_CONF__H__ */ +/* eof (trq_conf.h) */ -- 2.24.0