Lines Matching defs:constraint
2 /* constraint.c - Overlay to constrain attributes to certain values */
56 typedef struct constraint {
57 struct constraint *ap_next;
71 struct berval val; /* constraint value */
74 } constraint;
86 "DESC 'constraint for list of attributes' "
103 constraint_free( constraint *cp, int freeme )
133 constraint *cn = on->on_bi.bi_private, *cp;
136 constraint ap = { NULL };
243 constraint **cpp;
245 /* zap constraint numbered 'valx' */
392 "%s %s: Unknown constraint type: %s",
507 constraint *a2 = ch_calloc( sizeof(constraint), 1 );
562 constraint_violation( constraint *c, struct berval *bv, Operation *op )
679 return LDAP_CONSTRAINT_VIOLATION; /* constraint violation */
708 constraint_check_restrict( Operation *op, constraint *c, Entry *e )
767 constraint *c = on->on_bi.bi_private, *cp;
770 struct berval rsv = BER_BVC("add breaks constraint");
820 goto add_violation; /* constraint violation */
845 constraint *c = on->on_bi.bi_private, *cp;
850 struct berval rsv = BER_BVC("modify breaks constraint");
1125 constraint *ap, *a2;
1144 constraint_ovl.on_bi.bi_type = "constraint";