Searched refs:modlist (Results 1 – 2 of 2) sorted by relevance
145 LDAP__setmod(LDAPMod *** modlist, int modop, const char *attribute, in LDAP__setmod() argument150 if (*modlist == NULL) { in LDAP__setmod()151 *modlist = (LDAPMod **)ber_memcalloc(1, sizeof(LDAPMod *)); in LDAP__setmod()152 if (*modlist == NULL) in LDAP__setmod()156 for (cMods = 0; (*modlist)[cMods] != NULL; cMods++) { in LDAP__setmod()157 if ((*modlist)[cMods]->mod_op == modop && in LDAP__setmod()158 strcasecmp((*modlist)[cMods]->mod_type, attribute) == 0) { in LDAP__setmod()165 if ((*modlist)[cMods] == NULL) { in LDAP__setmod()168 *modlist = (LDAPMod **)ber_memrealloc(*modlist, in LDAP__setmod()170 if (*modlist == NULL) in LDAP__setmod()[all …]
127 typedef TAILQ_HEAD(, modlist) modlisthead_t;128 struct modlist { struct129 TAILQ_ENTRY(modlist) link; /* chain together all modules */134 typedef struct modlist *modlist_t; argument1382 mod = malloc(sizeof(struct modlist), M_LINKER, M_NOWAIT | M_ZERO); in modlist_newmodule()