| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | unbind.c | 149 for ( ll = ld->ld_options.ldo_conn_cbs; ll; ll = next ) { in ldap_ld_free() 177 if ( ld->ld_options.ldo_defludp != NULL ) { in ldap_ld_free() 178 ldap_free_urllist( ld->ld_options.ldo_defludp ); in ldap_ld_free() 179 ld->ld_options.ldo_defludp = NULL; in ldap_ld_free() 182 if ( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs ) { in ldap_ld_free() 183 LDAP_FREE( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs ); in ldap_ld_free() 184 memset( & ld->ld_options.ldo_local_ip_addrs, 0, in ldap_ld_free() 189 if ( ld->ld_options.ldo_peer != NULL ) { in ldap_ld_free() 190 LDAP_FREE( ld->ld_options.ldo_peer ); in ldap_ld_free() 191 ld->ld_options.ldo_peer = NULL; in ldap_ld_free() [all …]
|
| H A D | open.c | 48 &ld->ld_options.ldo_defludp, 1, 1, NULL, 0, 0 ); in ldap_open_defconn() 155 AC_MEMCPY(&ld->ld_options, gopts, sizeof(ld->ld_options)); in ldap_create() 162 if ( ld->ld_options.ldo_tls_pin_hashalg ) { in ldap_create() 165 ld->ld_options.ldo_tls_pin_hashalg = in ldap_create() 167 if ( !ld->ld_options.ldo_tls_pin_hashalg ) goto nomem; in ldap_create() 169 ld->ld_options.ldo_tls_pin.bv_val = ld->ld_options.ldo_tls_pin_hashalg in ldap_create() 171 AC_MEMCPY( ld->ld_options.ldo_tls_pin_hashalg, gopts->ldo_tls_pin_hashalg, in ldap_create() 173 } else if ( !BER_BVISEMPTY(&ld->ld_options.ldo_tls_pin) ) { in ldap_create() 174 ber_dupbv( &ld->ld_options.ldo_tls_pin, &gopts->ldo_tls_pin ); in ldap_create() 182 ld->ld_options.ldo_sctrls = NULL; in ldap_create() [all …]
|
| H A D | os-ip.c | 137 if ( ld->ld_options.ldo_keepalive_idle > 0 ) in ldap_int_prepare_socket() 141 (void*) &ld->ld_options.ldo_keepalive_idle, in ldap_int_prepare_socket() 142 sizeof(ld->ld_options.ldo_keepalive_idle) ) == AC_SOCKET_ERROR ) in ldap_int_prepare_socket() 154 if ( ld->ld_options.ldo_keepalive_probes > 0 ) in ldap_int_prepare_socket() 158 (void*) &ld->ld_options.ldo_keepalive_probes, in ldap_int_prepare_socket() 159 sizeof(ld->ld_options.ldo_keepalive_probes) ) == AC_SOCKET_ERROR ) in ldap_int_prepare_socket() 171 if ( ld->ld_options.ldo_keepalive_interval > 0 ) in ldap_int_prepare_socket() 175 (void*) &ld->ld_options.ldo_keepalive_interval, in ldap_int_prepare_socket() 176 sizeof(ld->ld_options.ldo_keepalive_interval) ) == AC_SOCKET_ERROR ) in ldap_int_prepare_socket() 198 if ( ld->ld_options.ldo_tcp_user_timeout > 0 ) in ldap_int_prepare_socket() [all …]
|
| H A D | ldap-int.h | 290 #define LDAP_IS_UDP(ld) ((ld)->ld_options.ldo_is_udp) 498 #define ld_options ldc->ldc_options macro 500 #define ld_valid ld_options.ldo_valid 501 #define ld_debug ld_options.ldo_debug 503 #define ld_deref ld_options.ldo_deref 504 #define ld_timelimit ld_options.ldo_timelimit 505 #define ld_sizelimit ld_options.ldo_sizelimit 507 #define ld_defbinddn ld_options.ldo_defbinddn 508 #define ld_defbase ld_options.ldo_defbase 509 #define ld_defhost ld_options.ldo_defhost [all …]
|
| H A D | cyrus.c | 515 int nocanon = (int)LDAP_BOOL_GET( &ld->ld_options, in ldap_int_sasl_bind() 567 ld->ld_options.ldo_sasl_cbinding, in ldap_int_sasl_bind() 596 &ld->ld_options.ldo_sasl_secprops ); in ldap_int_sasl_bind() 1023 *(char **)arg = ld->ld_options.ldo_def_sasl_mech in ldap_int_sasl_get_option() 1024 ? LDAP_STRDUP( ld->ld_options.ldo_def_sasl_mech ) : NULL; in ldap_int_sasl_get_option() 1027 *(char **)arg = ld->ld_options.ldo_def_sasl_realm in ldap_int_sasl_get_option() 1028 ? LDAP_STRDUP( ld->ld_options.ldo_def_sasl_realm ) : NULL; in ldap_int_sasl_get_option() 1031 *(char **)arg = ld->ld_options.ldo_def_sasl_authcid in ldap_int_sasl_get_option() 1032 ? LDAP_STRDUP( ld->ld_options.ldo_def_sasl_authcid ) : NULL; in ldap_int_sasl_get_option() 1035 *(char **)arg = ld->ld_options.ldo_def_sasl_authzid in ldap_int_sasl_get_option() [all …]
|
| H A D | gssapi.c | 541 if ( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_ALLOW_REMOTE_PRINCIPAL ) { in guess_service_principal() 606 if (!( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_DO_NOT_FREE_GSS_CONTEXT )) { in ldap_int_gssapi_close() 710 req_flags = ld->ld_options.ldo_gssapi_flags; in ldap_int_gss_spnego_bind_s() 875 * (unsigned *) arg = (unsigned) ld->ld_options.ldo_gssapi_flags; in ldap_int_gssapi_get_option() 879 if ( ld->ld_options.ldo_gssapi_flags & GSS_C_INTEG_FLAG ) { in ldap_int_gssapi_get_option() 887 if ( ld->ld_options.ldo_gssapi_flags & GSS_C_CONF_FLAG ) { in ldap_int_gssapi_get_option() 907 if ( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_DO_NOT_FREE_GSS_CONTEXT ) { in ldap_int_gssapi_get_option() 915 if ( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_ALLOW_REMOTE_PRINCIPAL ) { in ldap_int_gssapi_get_option() 938 ld->ld_options.ldo_gssapi_flags = * (unsigned *)arg; in ldap_int_gssapi_set_option() 944 ld->ld_options.ldo_gssapi_flags |= GSS_C_INTEG_FLAG; in ldap_int_gssapi_set_option() [all …]
|
| H A D | tls2.c | 361 ctx = ld->ld_options.ldo_tls_ctx; in ldap_int_tls_connect() 377 ld->ld_options.ldo_tls_ctx = ctx; in ldap_int_tls_connect() 380 if ( ld->ld_options.ldo_tls_connect_cb ) in ldap_int_tls_connect() 381 ld->ld_options.ldo_tls_connect_cb( ld, ssl, ctx, in ldap_int_tls_connect() 382 ld->ld_options.ldo_tls_connect_arg ); in ldap_int_tls_connect() 384 ld->ld_options.ldo_tls_connect_cb ) in ldap_int_tls_connect() 554 if (ld->ld_options.ldo_tls_require_cert != LDAP_OPT_X_TLS_NEVER && in ldap_pvt_tls_check_hostname() 555 ld->ld_options.ldo_tls_require_cert != LDAP_OPT_X_TLS_ALLOW) { in ldap_pvt_tls_check_hostname() 565 if ( !BER_BVISNULL( &ld->ld_options.ldo_tls_pin ) ) { in ldap_pvt_tls_check_hostname() 567 ld->ld_options.ldo_tls_pin_hashalg, in ldap_pvt_tls_check_hostname() [all …]
|
| H A D | os-local.c | 166 if ( ld->ld_options.ldo_tm_net.tv_sec >= 0 ) { in ldap_pvt_connect() 167 tv = ld->ld_options.ldo_tm_net; in ldap_pvt_connect() 262 LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART )); in ldap_pvt_connect() 293 LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART )); in ldap_pvt_connect()
|
| H A D | abandon.c | 219 if ( LDAP_IS_UDP(ld) && ld->ld_options.ldo_version == in do_abandon() 223 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex ); in do_abandon() 224 dn = ld->ld_options.ldo_cldapdn; in do_abandon() 229 LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex ); in do_abandon()
|
| H A D | request.c | 155 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex ); in ldap_send_initial_request() 156 if (ld->ld_options.ldo_cldapdn) in ldap_send_initial_request() 157 ldap_memfree(ld->ld_options.ldo_cldapdn); in ldap_send_initial_request() 158 ld->ld_options.ldo_cldapdn = ldap_strdup(dn); in ldap_send_initial_request() 160 LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex ); in ldap_send_initial_request() 282 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex ); in ldap_send_server_request() 283 if ( time( NULL ) - lc->lconn_created <= ld->ld_options.ldo_tm_net.tv_sec ) in ldap_send_server_request() 288 LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex ); in ldap_send_server_request() 317 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex ); in ldap_send_server_request() 318 rc = ber_write( &tmpber, ld->ld_options.ldo_peer, in ldap_send_server_request() [all …]
|
| H A D | result.c | 262 if ( timeout == NULL && ld->ld_options.ldo_tm_api.tv_sec >= 0 ) { in wait4msg() 263 tv = ld->ld_options.ldo_tm_api; in wait4msg() 331 !LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART) in wait4msg() 500 if ( ld->ld_options.ldo_version == LDAP_VERSION2 ) isv2 = 1; in try_read1msg() 524 if ( !LDAP_BOOL_GET( &ld->ld_options, LDAP_BOOL_KEEPCONN )) { in try_read1msg() 673 if ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) || in try_read1msg() 728 ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) || in try_read1msg() 909 !LDAP_BOOL_GET( &ld->ld_options, LDAP_BOOL_KEEPCONN )) { in try_read1msg() 977 !LDAP_BOOL_GET( &ld->ld_options, LDAP_BOOL_KEEPCONN )) { in try_read1msg()
|
| H A D | options.c | 122 lo = &ld->ld_options; in ldap_get_option() 496 lo = &ld->ld_options; in ldap_set_option() 632 if ( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs ) { in ldap_set_option() 633 LDAP_FREE( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs ); in ldap_set_option() 634 memset( &ld->ld_options.ldo_local_ip_addrs, 0, in ldap_set_option()
|
| H A D | search.c | 302 base = ld->ld_options.ldo_defbase; in ldap_build_search_req() 317 if ( LDAP_IS_UDP(ld) && ld->ld_options.ldo_version == LDAP_VERSION2) { in ldap_build_search_req() 318 char *dn = ld->ld_options.ldo_cldapdn; in ldap_build_search_req()
|
| H A D | test.c | 649 LDAP_BOOL_ZERO(&ld->ld_options); in main() 654 LDAP_BOOL_SET(&ld->ld_options, LDAP_BOOL_REFERRALS); in main()
|
| /netbsd-src/external/gpl2/mkhybrid/dist/ |
| H A D | mkisofs.c | 294 static const struct ld_option ld_options[] = variable 453 #define OPTION_COUNT (sizeof ld_options / sizeof ld_options[0]) 648 if (ld_options[i].doc != NULL) in usage() 662 if (ld_options[j].shortopt != '\0' in usage() 663 && ld_options[j].control != NO_HELP) in usage() 665 fprintf (stderr, "%s-%c", comma ? ", " : "", ld_options[j].shortopt); in usage() 667 if (ld_options[j].arg != NULL) in usage() 669 if (ld_options[j].opt.has_arg != optional_argument) in usage() 674 fprintf (stderr, "%s", ld_options[j].arg); in usage() 675 len += strlen (ld_options[j].arg); in usage() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/ |
| H A D | lexsup.c | 102 static const struct ld_option ld_options[] = variable 615 #define OPTION_COUNT ARRAY_SIZE (ld_options) 658 if (ld_options[i].shortopt != '\0') in parse_args() 660 shortopts[is] = ld_options[i].shortopt; in parse_args() 662 if (ld_options[i].opt.has_arg == required_argument in parse_args() 663 || ld_options[i].opt.has_arg == optional_argument) in parse_args() 667 if (ld_options[i].opt.has_arg == optional_argument) in parse_args() 674 if (ld_options[i].opt.name != NULL) in parse_args() 676 if (ld_options[i].control == EXACTLY_TWO_DASHES) in parse_args() 678 really_longopts[irl] = ld_options[i].opt; in parse_args() [all …]
|
| H A D | ChangeLog-2004 | 55 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox 96 (ld_options): Add --default-imported-symver. 181 (ld_options): Add default-symver. 349 (ld_options): Restore alpha sorting of options. 396 (ld_options): Add an entry for OPTION_SORT_SECTION. 687 (ld_options): Likewise. 871 (ld_options): Add hash-size. 899 (ld_options): Add entry for --reduce-memory-overheads. 1195 (ld_options): Likewise.
|
| H A D | ChangeLog-2015 | 285 * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker. 341 * lexsup.c (ld_options): Remove 'warn-orphan' and 447 * lexsup.c (ld_options): Add '--require-defined' entry. 536 (ld_options): Add --print-memory-usage. 762 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. 934 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
|
| H A D | ChangeLog-2007 | 191 * lexsup.c (ld_options): Don't use tabs in help text. 664 (ld_options): Add entry for --no-warn-search-mismatch. 1084 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with 1116 (ld_options): Add entries for --default-script and -dT. 1139 (ld_options): Add entries for -Bsymbolic-functions,
|
| H A D | ChangeLog-0001 | 124 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string 400 (ld_options): Add entry for "nostdlib". 820 (ld_options): Add --spare-dynamic-tags option. 1411 * lexsup.c (ld_options): Allow -I to be an alias for 1511 (ld_options): Entry for --fatal-warnings. 1519 (ld_options): Add --discard-none. 1774 * lexsup.c (ld_options): Allow --unique to take an optional arg. 1820 (ld_options[]): Change -omagic, -output and -oformat options 1856 (ld_options): Entry for --allow-shlib-undefined. 2288 (ld_options): Add "--unique". [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/ld/ |
| H A D | lexsup.c | 102 static const struct ld_option ld_options[] = variable 649 #define OPTION_COUNT ARRAY_SIZE (ld_options) 692 if (ld_options[i].shortopt != '\0') in parse_args() 694 shortopts[is] = ld_options[i].shortopt; in parse_args() 696 if (ld_options[i].opt.has_arg == required_argument in parse_args() 697 || ld_options[i].opt.has_arg == optional_argument) in parse_args() 701 if (ld_options[i].opt.has_arg == optional_argument) in parse_args() 708 if (ld_options[i].opt.name != NULL) in parse_args() 710 if (ld_options[i].control == EXACTLY_TWO_DASHES) in parse_args() 712 really_longopts[irl] = ld_options[i].opt; in parse_args() [all …]
|
| H A D | ChangeLog-2004 | 55 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox 96 (ld_options): Add --default-imported-symver. 181 (ld_options): Add default-symver. 349 (ld_options): Restore alpha sorting of options. 396 (ld_options): Add an entry for OPTION_SORT_SECTION. 687 (ld_options): Likewise. 871 (ld_options): Add hash-size. 899 (ld_options): Add entry for --reduce-memory-overheads. 1195 (ld_options): Likewise.
|
| H A D | ChangeLog-2015 | 285 * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker. 341 * lexsup.c (ld_options): Remove 'warn-orphan' and 447 * lexsup.c (ld_options): Add '--require-defined' entry. 536 (ld_options): Add --print-memory-usage. 762 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. 934 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
|
| H A D | ChangeLog-2007 | 191 * lexsup.c (ld_options): Don't use tabs in help text. 664 (ld_options): Add entry for --no-warn-search-mismatch. 1084 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with 1116 (ld_options): Add entries for --default-script and -dT. 1139 (ld_options): Add entries for -Bsymbolic-functions,
|
| H A D | ChangeLog-0001 | 124 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string 400 (ld_options): Add entry for "nostdlib". 820 (ld_options): Add --spare-dynamic-tags option. 1411 * lexsup.c (ld_options): Allow -I to be an alias for 1511 (ld_options): Entry for --fatal-warnings. 1519 (ld_options): Add --discard-none. 1774 * lexsup.c (ld_options): Allow --unique to take an optional arg. 1820 (ld_options[]): Change -omagic, -output and -oformat options 1856 (ld_options): Entry for --allow-shlib-undefined. 2288 (ld_options): Add "--unique". [all …]
|