Home
last modified time | relevance | path

Searched refs:berval (Results 1 – 25 of 51) sorted by relevance

123

/titanic_41/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c297 ber_get_oid(BerElement *ber, struct berval *oid) in ber_get_oid()
319 ber_get_bigint(BerElement *ber, struct berval **bv) in ber_get_bigint()
324 if ((*bv = (struct berval *)malloc(sizeof (struct berval))) in ber_get_bigint()
367 kmfber_get_stringal(BerElement *ber, struct berval **bv) in kmfber_get_stringal()
372 if ((*bv = (struct berval *)malloc(sizeof (struct berval))) in kmfber_get_stringal()
481 kmfber_bvfree(struct berval *bv) in kmfber_bvfree()
492 kmfber_bvecfree(struct berval **bv) in kmfber_bvecfree()
511 struct berval ***bv, **bvp, *bval; in kmfber_scanf()
534 bval = va_arg(ap, struct berval *); in kmfber_scanf()
559 bval = va_arg(ap, struct berval *); in kmfber_scanf()
[all …]
H A Dio.c304 kmfber_flatten(BerElement *ber, struct berval **bvPtr) in kmfber_flatten()
306 struct berval *new; in kmfber_flatten()
310 new = (struct berval *)malloc((size_t)(sizeof (struct berval))); in kmfber_flatten()
314 (void) memset(new, 0, sizeof (struct berval)); in kmfber_flatten()
342 kmfder_init(const struct berval *bv) in kmfder_init()
370 kmfber_init(const struct berval *bv) in kmfber_init()
/titanic_41/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c300 ber_get_stringal( BerElement *ber, struct berval **bv ) in ber_get_stringal()
305 if ( (*bv = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) )) in ber_get_stringal()
437 struct berval ***bv, **bvp, *bval; in ber_scanf()
489 bval = va_arg( ap, struct berval * ); in ber_scanf()
495 bvp = va_arg( ap, struct berval ** ); in ber_scanf()
547 bv = va_arg( ap, struct berval *** ); in ber_scanf()
555 *bv = (struct berval **)NSLBERI_MALLOC( in ber_scanf()
556 2 * sizeof(struct berval *) ); in ber_scanf()
558 *bv = (struct berval **)NSLBERI_REALLOC( in ber_scanf()
560 (j + 2) * sizeof(struct berval *) ); in ber_scanf()
[all …]
/titanic_41/usr/src/lib/libkmf/ber_der/inc/
H A Dber_der.h85 typedef struct berval { struct
92 BerElement *kmfder_init(const struct berval *bv); argument
93 BerElement *kmfber_init(const struct berval *bv);
105 void kmfber_bvfree(struct berval *);
106 void kmfber_bvecfree(struct berval **);
107 struct berval *kmfber_bvdup(const struct berval *);
113 extern int kmfber_flatten(BerElement *, struct berval **);
/titanic_41/usr/src/head/
H A Dlber.h88 typedef struct berval { struct
157 struct berval **bv);
169 LDAP_API(void) LDAP_CALL ber_bvfree(struct berval *bv);
170 LDAP_API(void) LDAP_CALL ber_bvecfree(struct berval **bv);
171 struct berval *LDAP_CALL ber_bvdup(const struct berval *bv);
174 LDAP_API(BerElement *) LDAP_CALL ber_init(const struct berval *bv);
198 struct berval **bvPtr);
H A Dldap.h153 struct berval **modv_bvals;
165 struct berval ldctl_value;
457 struct berval *cookie, char isCritical, LDAPControl **output);
459 unsigned int *totalcount, struct berval **cookie);
463 struct berval *cred, LDAPControl **serverctrls,
467 struct berval *cred, LDAPControl **serverctrls,
470 struct berval *cred, LDAPControl **serverctrls,
556 struct berval **LDAP_CALL ldap_get_values_len(LDAP *ld,
559 int LDAP_CALL ldap_count_values_len(struct berval **vals);
561 LDAP_API(void) LDAP_CALL ldap_value_free_len(struct berval **vals);
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dllib-lldap50 int ldap_sasl_bind(LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAP…
52 …const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientc…
65 int ldap_compare_ext(LDAP *ld, const char *dn, const char *attr, const struct berval *bvalue, LDAPC…
67 int ldap_compare_ext_s(LDAP *ld, const char *dn, const char *attr, const struct berval *bvalue, LDA…
175 int ldap_count_values_len( struct berval **vals );
177 void ldap_value_free_len( struct berval **vals );
179 struct berval **ldap_get_values_len(LDAP *ld, LDAPMessage *entry, const char *target);
183 struct berval **ldap_get_lang_values_len(LDAP *ld, LDAPMessage *entry, const char *target, char **t…
203 int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res, struct berval **servercredp, int freeit…
205 int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res, char **resultoidp, struct berval **resul…
[all …]
H A Dsaslbind.c50 const struct berval *cred, in ldap_sasl_bind()
118 struct berval tmpcred; in ldap_sasl_bind()
179 const struct berval *cred, in ldap_sasl_bind_s()
182 struct berval **servercredp in ldap_sasl_bind_s()
218 struct berval **servercredp, in ldap_parse_sasl_bind_result()
H A Dextendop.c40 const struct berval *exdata, in ldap_extended_operation()
144 const struct berval *requestdata, in ldap_extended_operation_s()
148 struct berval **retdatap in ldap_extended_operation_s()
184 struct berval **retdatap, /* may be NULL */ in ldap_parse_extended_result()
192 struct berval *rdata; in ldap_parse_extended_result()
H A Dcompare.c53 struct berval bv; in ldap_compare()
71 const struct berval *bvalue, LDAPControl **serverctrls, in ldap_compare_ext()
153 struct berval bv; in ldap_compare_s()
164 const struct berval *bvalue, LDAPControl **serverctrls, in ldap_compare_ext_s()
H A Dcram_md5.c67 struct berval *cred, in ldap_sasl_cram_md5_bind_s()
72 struct berval *challenge = NULL; in ldap_sasl_cram_md5_bind_s()
73 struct berval resp; in ldap_sasl_cram_md5_bind_s()
H A Dspagectrl.c24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritica… in ldap_create_page_control()
51 …se_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) in ldap_parse_page_control()
H A Dgetvalues.c453 struct berval **
457 return( (struct berval **) internal_ldap_get_values( ld, entry, target, in ldap_get_values_len()
470 struct berval **
475 return( (struct berval **) internal_ldap_get_lang_values( ld, entry, in ldap_get_lang_values_len()
H A Ddigest_md5.c663 struct berval *cred, in ldap_x_sasl_digest_md5_bind_s()
667 struct berval *challenge = NULL; in ldap_x_sasl_digest_md5_bind_s()
670 struct berval resp; in ldap_x_sasl_digest_md5_bind_s()
740 struct berval *cred, in sasl_digest_md5_bind_2()
746 struct berval *challenge = NULL; in sasl_digest_md5_bind_2()
747 struct berval resp; in sasl_digest_md5_bind_2()
788 struct berval *cred, in ldap_x_sasl_digest_md5_bind()
H A Dcache.c70 struct berval bv; in nsldapi_add_result_to_cache()
71 struct berval *bvp[2]; in nsldapi_add_result_to_cache()
H A Dcountvalues.c51 ldap_count_values_len( struct berval **vals ) in ldap_count_values_len()
H A Dfreevalues.c49 ldap_value_free_len( struct berval **vals ) in ldap_value_free_len()
/titanic_41/usr/src/cmd/ldap/common/
H A Dldaptool.h180 int ldaptool_berval_is_ascii( const struct berval *bvp );
182 const struct berval *cred, LDAPControl **serverctrls,
183 LDAPControl **clientctrls, struct berval **servercredp, char *msg );
196 const struct berval *bvalue, LDAPControl **serverctrls,
H A Dfileurl.c48 static int berval_from_file( const char *path, struct berval *bvp,
231 struct berval *bvp, int recognize_url_syntax, int always_try_file, in ldaptool_berval_from_ldif_value()
359 berval_from_file( const char *path, struct berval *bvp, int reporterrs )
H A Dldaptest.c98 file_read( char *path, struct berval *bv ) in file_read()
152 struct berval **bvals; in get_modlist()
178 bvals = (struct berval **)calloc( i + 1, in get_modlist()
179 sizeof( struct berval *)); in get_modlist()
181 bvals[i] = (struct berval *)malloc( in get_modlist()
182 sizeof( struct berval )); in get_modlist()
275 struct berval bv, cred, *srvcrds = NULL; in main()
1109 struct berval **vals; in print_search_entry()
H A Dldapmodify.c270 struct berval bv, *retdata; in process()
361 struct berval bv, *retdata; in process()
910 struct berval *bvp;
952 if (( pmods[ i ]->mod_bvalues = (struct berval **)
954 (j + 2) * sizeof( struct berval * ))) == NULL ) {
959 if (( bvp = (struct berval *)malloc( sizeof( struct berval )))
989 struct berval *bvp;
H A Dfileurl.h66 struct berval *bvp, int recognize_url_syntax, int always_try_file,
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c55 berval2tl_data(struct berval *in, krb5_tl_data **out) in berval2tl_data()
366 static struct berval **
368 struct berval **ret = NULL; in krb5_encode_krbsecretkey()
382 ret = (struct berval **) calloc (num_versions + 1, sizeof (struct berval *)); in krb5_encode_krbsecretkey()
399 ret[j] = malloc (sizeof (struct berval)); in krb5_encode_krbsecretkey()
432 static krb5_error_code tl_data2berval (krb5_tl_data *in, struct berval **out) { in tl_data2berval()
433 *out = (struct berval *) malloc (sizeof (struct berval)); in tl_data2berval()
464 struct berval **bersecretkey=NULL;
478 struct berval **ber_tl_data = NULL;
1005 ber_tl_data = (struct berval **) calloc (count + 1,
[all …]
H A Dldap_principal.h117 krb5_decode_krbsecretkey(krb5_context, krb5_db_entry *, struct berval **);
120 berval2tl_data(struct berval *in, krb5_tl_data **out);
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c63 struct berval **bv);
72 static void dump_bv_list(const char *attr, struct berval **bv);
416 struct berval **bv; in directory_provider_ad_cb1()
476 bv_list_dav(directory_values_rpc *lvals, struct berval **bv) in bv_list_dav()
510 dump_bv_list(const char *attr, struct berval **bv) in dump_bv_list()

123