Searched refs:LDAPMod (Results 1 - 25 of 37) sorted by relevance

12

/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dcache.c65 LDAPMod **mods;
85 mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) );
96 mods = (LDAPMod **)NSLDAPI_REALLOC( mods,
97 sizeof(LDAPMod *) * max );
106 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) );
132 mods = (LDAPMod **)NSLDAPI_REALLOC( mods,
133 sizeof(LDAPMod *) * max );
142 mods[i] = (LDAPMod *)NSLDAPI_CALLO
[all...]
H A Dadd.c46 * terminated array of pointers to LDAPMod structures.
51 * LDAPMod *attrs[] = {
61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs )
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs,
190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs )
196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs,
H A Dmodify.c50 * LDAPMod *mods[] = {
59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods )
75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods,
190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods )
197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
H A Dllib-lldap27 int ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
29 int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls);
31 int ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs );
32 int ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs );
95 int ldap_modify_ext(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
97 int ldap_modify_ext_s(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls) ;
99 int ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods );
100 int ldtap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods );
270 void ldap_mods_free( LDAPMod **mods, int freemods );
H A Dfree.c90 ldap_mods_free( LDAPMod **mods, int freemods )
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.h117 krb5_add_member(LDAPMod ***, int *);
120 krb5_add_str_mem_ldap_mod(LDAPMod ***, char *, int, char **);
123 krb5_add_ber_mem_ldap_mod(LDAPMod ***, char *, int, struct berval **);
126 krb5_add_int_arr_mem_ldap_mod(LDAPMod ***, char *, int, int *);
129 krb5_add_int_mem_ldap_mod(LDAPMod ***, char *, int , int);
132 krb5_ldap_free_mod_array(LDAPMod **);
H A Dldap_misc.c1005 LDAPMod modAttr, *mods[2]={NULL};
1046 LDAPMod modAttr, *mods[2]={NULL};
1350 * Function to allocate, set the values of LDAPMod structure. The
1351 * LDAPMod structure is then added to the array at the ind
1355 krb5_add_member(LDAPMod ***mods, int *count)
1358 LDAPMod **lmods=NULL;
1364 lmods = (LDAPMod **) realloc((*mods), (2+i) * sizeof(LDAPMod *));
1370 (*mods)[i] = (LDAPMod *) calloc(1, sizeof (LDAPMod));
[all...]
H A Dldap_services.c54 LDAPMod **mods=NULL;
187 LDAPMod **mods=NULL;
559 LDAPMod **mods=NULL;
/osnet-11/usr/src/lib/libldap4/common/
H A Dadd.c40 BerElement * ldap_build_add_req(LDAP *ld, char *dn, LDAPMod **attrs,
125 * terminated array of pointers to LDAPMod structures.
130 * LDAPMod *attrs[] = {
138 int ldap_add( LDAP *ld, char *dn, LDAPMod **attrs )
164 ldap_add_s( LDAP *ld, char *dn, LDAPMod **attrs )
186 * terminated array of pointers to LDAPMod structures.
194 * LDAPMod *attrs[] = {
204 int ldap_add_ext(LDAP *ld, char *dn, LDAPMod **attrs,
247 int ldap_add_ext_s(LDAP *ld, char *dn, LDAPMod **attrs,
H A Dmodify.c36 BerElement * ldap_build_modify_req(LDAP *ld, char *dn, LDAPMod ** mods, LDAPControl **serverctrls)
128 * LDAPMod *mods[] = {
136 ldap_modify( LDAP *ld, char *dn, LDAPMod **mods )
163 ldap_modify_s( LDAP *ld, char *dn, LDAPMod **mods )
179 int ldap_modify_ext(LDAP *ld, char *dn, LDAPMod **mods,
222 int ldap_modify_ext_s(LDAP *ld, char *dn, LDAPMod **mods,
H A Dllib-lldap29 int ldap_add_ext( LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
30 int ldap_add_ext_s( LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls);
31 int ldap_add( LDAP *ld, char *dn, LDAPMod **attrs );
32 int ldap_add_s( LDAP *ld, char *dn, LDAPMod **attrs );
92 int ldap_modify_ext(LDAP *ld, char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
93 int ldap_modify_ext_s(LDAP *ld, char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls) ;
94 int ldap_modify( LDAP *ld, char *dn, LDAPMod **mods );
95 int ldap_modify_s( LDAP *ld, char *dn, LDAPMod **mods );
244 void ldap_mods_free( LDAPMod **mods, int freemods );
H A Dfree.c86 ldap_mods_free( LDAPMod **mods, int freemods )
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_op.h69 LDAPMod **search2LdapMod(__nis_rule_value_t *rv, int add,
H A Dldap_print.h67 void printLdapMod(LDAPMod **mods, __nis_buffer_t *b);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs,
77 char *dn, LDAPMod **attrs,
87 char *dn, LDAPMod **attrs)
96 char *dn, LDAPMod **attrs)
192 char *dn, LDAPMod **mods,
203 char *dn, LDAPMod **mods,
213 char *dn, LDAPMod **mods)
223 char *dn, LDAPMod **mods)
/osnet-11/usr/src/lib/libfedfs/common/
H A Dnsdb_primitives.c318 nsdb_free_attrs(LDAPMod *attrs[])
335 alloc_attrs(LDAPMod **attrs, int num)
342 attrs[i] = (LDAPMod *)calloc(1, sizeof (LDAPMod));
413 LDAPMod **
416 LDAPMod **attrs;
426 attrs = calloc(n, sizeof (LDAPMod *));
455 LDAPMod **
459 LDAPMod **attrs;
477 attrs = calloc(n, sizeof (LDAPMod *));
[all...]
/osnet-11/usr/src/cmd/ldap/common/
H A Dldapmodify.c95 static void addmodifyop( LDAPMod ***pmodsp, int modop, char *attr,
97 static void freepmods( LDAPMod **pmods );
104 static int domodify( LDAP *ld, char *dn, LDAPMod **pmods, int newentry );
111 static int domodify( char *dn, LDAPMod **pmods, int newentry );
452 LDAPMod **pmods;
791 LDAPMod **pmods;
906 addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, char *value, int vlen )
908 LDAPMod **pmods;
926 if (( pmods = (LDAPMod **)LDAPTOOL_SAFEREALLOC( pmods, (i + 2) *
927 sizeof( LDAPMod * )))
[all...]
H A Dldaptool.h186 int ldaptool_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs,
188 int ldaptool_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
H A Dldaptest.c144 static LDAPMod **
149 LDAPMod tmp;
150 LDAPMod **result;
201 result = (LDAPMod **) malloc( sizeof(LDAPMod *) );
203 result = (LDAPMod **) realloc( result,
204 sizeof(LDAPMod *) * (num + 1) );
206 result[num] = (LDAPMod *) malloc( sizeof(LDAPMod) );
212 result = (LDAPMod **) reallo
[all...]
/osnet-11/usr/src/lib/libldap4/include/
H A Dldap.h411 } LDAPMod; typedef in typeref:struct:ldapmod
893 int ldap_add_ext(LDAP *ld, char *dn, LDAPMod **attrs,
895 int ldap_add_ext_s(LDAP *ld, char *dn, LDAPMod **attrs,
897 int ldap_add(LDAP *ld, char *dn, LDAPMod **attrs);
898 int ldap_add_s(LDAP *ld, char *dn, LDAPMod **attrs);
988 int ldap_modify_ext(LDAP *ld, char *dn, LDAPMod **mods,
990 int ldap_modify_ext_s(LDAP *ld, char *dn, LDAPMod **mods,
992 int ldap_modify(LDAP *ld, char *dn, LDAPMod **mods);
993 int ldap_modify_s(LDAP *ld, char *dn, LDAPMod **mods);
1174 void ldap_mods_free(LDAPMod **mod
[all...]
H A Dldap-int.h238 BerElement * ldap_build_add_req(LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls);
274 BerElement * ldap_build_modify_req(LDAP *ld, char *dn, LDAPMod ** mods, LDAPControl **serverctrls);
H A Dentry.h115 void output_ldif(char *dn, int op, LDAPMod **modlist, FILE *out);
H A Dfe.h359 extern LDAPMod **fe_trans_all_fe2sds(FE_Table *MapTable, LDAP *ld, FE_Entry *fe_entry);
/osnet-11/usr/src/head/
H A Dldap.h155 } LDAPMod; typedef in typeref:struct:ldapmod
486 int LDAP_CALL ldap_add(LDAP *ld, const char *dn, LDAPMod **attrs);
487 int LDAP_CALL ldap_add_s(LDAP *ld, const char *dn, LDAPMod **attrs);
492 int LDAP_CALL ldap_modify(LDAP *ld, const char *dn, LDAPMod **mods);
494 LDAPMod **mods);
573 int LDAP_CALL ldap_add_ext(LDAP *ld, const char *dn, LDAPMod **attrs,
576 LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls);
585 LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls,
588 LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls);
1176 * Function to dispose of an array of LDAPMod structure
[all...]
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_ads.c158 static int smb_ads_alloc_attr(LDAPMod ***, int);
159 static void smb_ads_free_attr(LDAPMod **);
279 LDAPMod **attrs;
1545 * Allocate a null-terminated array of LDAPMod * pointers. Since the attrs is
1550 smb_ads_alloc_attr(LDAPMod ***attrs, int num)
1553 LDAPMod **a;
1556 *attrs = calloc(num + 1, sizeof (LDAPMod *));
1562 a[i] = calloc(1, sizeof (LDAPMod));
1576 * attrs: an array of LDAPMod pointers
1581 smb_ads_free_attr(LDAPMod **attr
[all...]

Completed in 100 milliseconds

12