Lines Matching defs:hold
242 /* multival_t is used to hold params that can have more than one value */
253 * clientopts_t is used to hold and pass around the param values from
3094 multival_t *hold;
3096 hold = calloc(1, sizeof (multival_t));
3097 if (hold == NULL) {
3102 return (hold); /* NULL -> error */
3147 clientopts_t *hold;
3149 hold = calloc(1, sizeof (clientopts_t));
3150 if (NULL == hold) {
3153 return (hold); /* NULL -> error */
3156 hold->serviceAuthenticationMethod = multival_new();
3157 if (NULL == hold->serviceAuthenticationMethod) {
3160 free(hold);
3164 hold->serviceCredentialLevel = multival_new();
3165 if (NULL == hold->serviceCredentialLevel) {
3168 multival_free(hold->serviceAuthenticationMethod);
3169 free(hold);
3173 hold->objectclassMap = multival_new();
3174 if (NULL == hold->objectclassMap) {
3177 multival_free(hold->serviceAuthenticationMethod);
3178 multival_free(hold->serviceCredentialLevel);
3179 free(hold);
3183 hold->attributeMap = multival_new();
3184 if (NULL == hold->attributeMap) {
3187 multival_free(hold->serviceAuthenticationMethod);
3188 multival_free(hold->serviceCredentialLevel);
3189 multival_free(hold->objectclassMap);
3190 free(hold);
3194 hold->serviceSearchDescriptor = multival_new();
3195 if (NULL == hold->serviceSearchDescriptor) {
3198 multival_free(hold->serviceAuthenticationMethod);
3199 multival_free(hold->serviceCredentialLevel);
3200 multival_free(hold->objectclassMap);
3201 multival_free(hold->attributeMap);
3202 free(hold);
3206 return (hold);