96164e18306abb3432bd17a9cf8184763533c95b
[com/asn1c.git] / libasn1fix / asn1fix_constraint.h
1 #ifndef ASN1FIX_CONSTRAINT_H
2 #define ASN1FIX_CONSTRAINT_H
3
4 /*
5  * Resolve referenced values inside constraints.
6  */
7 int asn1constraint_resolve(
8     arg_t *arg, asn1p_constraint_t *ct,
9     asn1p_expr_type_e topmost_parent_expression_type,
10     enum asn1p_constraint_type_e effective_constraint_type);
11
12 /*
13  * Collect all subtype constraints from all parents of this type and
14  * the type itself, forming a full constraint structure.
15  * Honors the constraints extensibility rules (46.8)
16  * and does other useful transformations.
17  */
18 int asn1constraint_pullup(arg_t *arg);
19
20 #endif  /* ASN1FIX_CONSTRAINT_H */