Searched refs:ld_options (Results 1 - 25 of 26) sorted by relevance

12

/netbsd-current/external/bsd/openldap/dist/libraries/libldap/
H A Dunbind.c149 for ( ll = ld->ld_options.ldo_conn_cbs; ll; ll = next ) {
177 if ( ld->ld_options.ldo_defludp != NULL ) {
178 ldap_free_urllist( ld->ld_options.ldo_defludp );
179 ld->ld_options.ldo_defludp = NULL;
182 if ( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs ) {
183 LDAP_FREE( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs );
184 memset( & ld->ld_options.ldo_local_ip_addrs, 0,
189 if ( ld->ld_options.ldo_peer != NULL ) {
190 LDAP_FREE( ld->ld_options.ldo_peer );
191 ld->ld_options
[all...]
H A Dopen.c48 &ld->ld_options.ldo_defludp, 1, 1, NULL, 0, 0 );
155 AC_MEMCPY(&ld->ld_options, gopts, sizeof(ld->ld_options));
162 if ( ld->ld_options.ldo_tls_pin_hashalg ) {
165 ld->ld_options.ldo_tls_pin_hashalg =
167 if ( !ld->ld_options.ldo_tls_pin_hashalg ) goto nomem;
169 ld->ld_options.ldo_tls_pin.bv_val = ld->ld_options.ldo_tls_pin_hashalg
171 AC_MEMCPY( ld->ld_options.ldo_tls_pin_hashalg, gopts->ldo_tls_pin_hashalg,
173 } else if ( !BER_BVISEMPTY(&ld->ld_options
[all...]
H A Dos-ip.c137 if ( ld->ld_options.ldo_keepalive_idle > 0 )
141 (void*) &ld->ld_options.ldo_keepalive_idle,
142 sizeof(ld->ld_options.ldo_keepalive_idle) ) == AC_SOCKET_ERROR )
154 if ( ld->ld_options.ldo_keepalive_probes > 0 )
158 (void*) &ld->ld_options.ldo_keepalive_probes,
159 sizeof(ld->ld_options.ldo_keepalive_probes) ) == AC_SOCKET_ERROR )
171 if ( ld->ld_options.ldo_keepalive_interval > 0 )
175 (void*) &ld->ld_options.ldo_keepalive_interval,
176 sizeof(ld->ld_options.ldo_keepalive_interval) ) == AC_SOCKET_ERROR )
198 if ( ld->ld_options
[all...]
H A Dcyrus.c515 int nocanon = (int)LDAP_BOOL_GET( &ld->ld_options,
567 ld->ld_options.ldo_sasl_cbinding,
596 &ld->ld_options.ldo_sasl_secprops );
1023 *(char **)arg = ld->ld_options.ldo_def_sasl_mech
1024 ? LDAP_STRDUP( ld->ld_options.ldo_def_sasl_mech ) : NULL;
1027 *(char **)arg = ld->ld_options.ldo_def_sasl_realm
1028 ? LDAP_STRDUP( ld->ld_options.ldo_def_sasl_realm ) : NULL;
1031 *(char **)arg = ld->ld_options.ldo_def_sasl_authcid
1032 ? LDAP_STRDUP( ld->ld_options.ldo_def_sasl_authcid ) : NULL;
1035 *(char **)arg = ld->ld_options
[all...]
H A Dldap-int.h290 #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
[all...]
H A Dos-local.c166 if ( ld->ld_options.ldo_tm_net.tv_sec >= 0 ) {
167 tv = ld->ld_options.ldo_tm_net;
262 LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART ));
293 LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART ));
H A Dabandon.c219 if ( LDAP_IS_UDP(ld) && ld->ld_options.ldo_version ==
223 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex );
224 dn = ld->ld_options.ldo_cldapdn;
229 LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex );
H A Dgssapi.c541 if ( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_ALLOW_REMOTE_PRINCIPAL ) {
606 if (!( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_DO_NOT_FREE_GSS_CONTEXT )) {
710 req_flags = ld->ld_options.ldo_gssapi_flags;
875 * (unsigned *) arg = (unsigned) ld->ld_options.ldo_gssapi_flags;
879 if ( ld->ld_options.ldo_gssapi_flags & GSS_C_INTEG_FLAG ) {
887 if ( ld->ld_options.ldo_gssapi_flags & GSS_C_CONF_FLAG ) {
907 if ( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_DO_NOT_FREE_GSS_CONTEXT ) {
915 if ( ld->ld_options.ldo_gssapi_options & LDAP_GSSAPI_OPT_ALLOW_REMOTE_PRINCIPAL ) {
938 ld->ld_options.ldo_gssapi_flags = * (unsigned *)arg;
944 ld->ld_options
[all...]
H A Dtls2.c361 ctx = ld->ld_options.ldo_tls_ctx;
377 ld->ld_options.ldo_tls_ctx = ctx;
380 if ( ld->ld_options.ldo_tls_connect_cb )
381 ld->ld_options.ldo_tls_connect_cb( ld, ssl, ctx,
382 ld->ld_options.ldo_tls_connect_arg );
384 ld->ld_options.ldo_tls_connect_cb )
554 if (ld->ld_options.ldo_tls_require_cert != LDAP_OPT_X_TLS_NEVER &&
555 ld->ld_options.ldo_tls_require_cert != LDAP_OPT_X_TLS_ALLOW) {
565 if ( !BER_BVISNULL( &ld->ld_options.ldo_tls_pin ) ) {
567 ld->ld_options
[all...]
H A Drequest.c155 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex );
156 if (ld->ld_options.ldo_cldapdn)
157 ldap_memfree(ld->ld_options.ldo_cldapdn);
158 ld->ld_options.ldo_cldapdn = ldap_strdup(dn);
160 LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex );
282 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex );
283 if ( time( NULL ) - lc->lconn_created <= ld->ld_options.ldo_tm_net.tv_sec )
288 LDAP_MUTEX_UNLOCK( &ld->ld_options.ldo_mutex );
317 LDAP_MUTEX_LOCK( &ld->ld_options.ldo_mutex );
318 rc = ber_write( &tmpber, ld->ld_options
[all...]
H A Dresult.c262 if ( timeout == NULL && ld->ld_options.ldo_tm_api.tv_sec >= 0 ) {
263 tv = ld->ld_options.ldo_tm_api;
331 !LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART)
500 if ( ld->ld_options.ldo_version == LDAP_VERSION2 ) isv2 = 1;
524 if ( !LDAP_BOOL_GET( &ld->ld_options, LDAP_BOOL_KEEPCONN )) {
673 if ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ||
728 ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ||
909 !LDAP_BOOL_GET( &ld->ld_options, LDAP_BOOL_KEEPCONN )) {
977 !LDAP_BOOL_GET( &ld->ld_options, LDAP_BOOL_KEEPCONN )) {
H A Doptions.c122 lo = &ld->ld_options;
496 lo = &ld->ld_options;
632 if ( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs ) {
633 LDAP_FREE( ld->ld_options.ldo_local_ip_addrs.local_ip_addrs );
634 memset( &ld->ld_options.ldo_local_ip_addrs, 0,
H A Dsearch.c302 base = ld->ld_options.ldo_defbase;
317 if ( LDAP_IS_UDP(ld) && ld->ld_options.ldo_version == LDAP_VERSION2) {
318 char *dn = ld->ld_options.ldo_cldapdn;
H A Dtest.c649 LDAP_BOOL_ZERO(&ld->ld_options);
654 LDAP_BOOL_SET(&ld->ld_options, LDAP_BOOL_REFERRALS);
H A Dsasl.c467 mechs = ld->ld_options.ldo_def_sasl_mech;
H A Dtls_g.c567 int chkSAN = ld->ld_options.ldo_tls_require_san, gotSAN = 0;
/netbsd-current/external/gpl2/mkhybrid/dist/
H A Dmkisofs.c294 static const struct ld_option ld_options[] = variable in typeref:struct:ld_option
453 #define OPTION_COUNT (sizeof ld_options / sizeof ld_options[0])
648 if (ld_options[i].doc != NULL)
662 if (ld_options[j].shortopt != '\0'
663 && ld_options[j].control != NO_HELP)
665 fprintf (stderr, "%s-%c", comma ? ", " : "", ld_options[j].shortopt);
667 if (ld_options[j].arg != NULL)
669 if (ld_options[j].opt.has_arg != optional_argument)
674 fprintf (stderr, "%s", ld_options[
[all...]
/netbsd-current/external/gpl3/binutils/dist/ld/
H A Dlexsup.c102 static const struct ld_option ld_options[] = variable in typeref:struct:ld_option
615 #define OPTION_COUNT ARRAY_SIZE (ld_options)
658 if (ld_options[i].shortopt != '\0')
660 shortopts[is] = ld_options[i].shortopt;
662 if (ld_options[i].opt.has_arg == required_argument
663 || ld_options[i].opt.has_arg == optional_argument)
667 if (ld_options[i].opt.has_arg == optional_argument)
674 if (ld_options[i].opt.name != NULL)
676 if (ld_options[i].control == EXACTLY_TWO_DASHES)
678 really_longopts[irl] = ld_options[
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/ld/
H A Dlexsup.c100 static const struct ld_option ld_options[] = variable in typeref:struct:ld_option
589 #define OPTION_COUNT ARRAY_SIZE (ld_options)
632 if (ld_options[i].shortopt != '\0')
634 shortopts[is] = ld_options[i].shortopt;
636 if (ld_options[i].opt.has_arg == required_argument
637 || ld_options[i].opt.has_arg == optional_argument)
641 if (ld_options[i].opt.has_arg == optional_argument)
648 if (ld_options[i].opt.name != NULL)
650 if (ld_options[i].control == EXACTLY_TWO_DASHES)
652 really_longopts[irl] = ld_options[
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/ld/
H A Dlexsup.c102 static const struct ld_option ld_options[] = variable in typeref:struct:ld_option
615 #define OPTION_COUNT ARRAY_SIZE (ld_options)
658 if (ld_options[i].shortopt != '\0')
660 shortopts[is] = ld_options[i].shortopt;
662 if (ld_options[i].opt.has_arg == required_argument
663 || ld_options[i].opt.has_arg == optional_argument)
667 if (ld_options[i].opt.has_arg == optional_argument)
674 if (ld_options[i].opt.name != NULL)
676 if (ld_options[i].control == EXACTLY_TWO_DASHES)
678 really_longopts[irl] = ld_options[
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-ifunc/
H A Dbinutils.exp35 proc binutils_test { prog_name ld_options test } {
46 set test_name "$prog_name $ld_options ($test)"
53 if { ![ld_link $ld tmpdir/$test "$ld_options tmpdir/$test.o"] } {
56 unsupported "$ld_options is not supported by this target"
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-elf/
H A Dbinutils.exp34 # to hardwire the test name. This is important if ld_options contains
36 # from the prog_name and ld_options and we do not want absolute paths
39 proc binutils_test { prog_name ld_options test {test_name ""} {readelf_options "-l"}} {
52 set test_name "$prog_name $ld_options ($test)"
60 if { ![ld_link $ld tmpdir/$test "$ld_options -z stack-size=0 tmpdir/$test.o"] } {
64 unsupported "$ld_options is not supported by this target"
79 if [string match "*-z relro*" $ld_options] {
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-powerpc/
H A Dpowerpc.exp366 set ld_options [lindex $line 1]
367 regsub -all elf32ppc $ld_options elf32lppc ld_options
368 set line [lreplace $line 1 1 $ld_options]
375 set ld_options [lindex $line 1]
376 regsub -all elf64ppc $ld_options elf64lppc ld_options
377 set line [lreplace $line 1 1 $ld_options]
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/lib/
H A Dld-lib.exp485 set ld_options [lindex $testitem 1]
499 # verbose -log "ld_options is $ld_options"
541 if { ![ar_simple_create $ar $ld_options $binfile "$objfiles $ld_after"] } {
544 } elseif { ![ld_link $ld $binfile "$ld_extra_opt -L$srcdir/$subdir $ld_options $objfiles $ld_after"] } {
681 set ld_options [lindex $testitem 1]
711 # verbose -log "ld_options is $ld_options"
754 && [regexp -- ".* \[-\]+static .*" " $board_cflags $ld_options $objfiles $ld_after "] } {
758 if ![$link_proc $link_cmd $binfile "$board_cflags -L$srcdir/$subdir $ld_options
[all...]
/netbsd-current/external/bsd/openldap/dist/contrib/ldaptcl/
H A DneoXldap.c936 ldap->ld_options = 0;

Completed in 198 milliseconds

12