Lev Walkin | c6cac8e | 2016-03-14 02:57:07 -0700 | [diff] [blame] | 1 | #ifndef ASN1FIX_CONSTRAINT_H |
| 2 | #define ASN1FIX_CONSTRAINT_H |
Lev Walkin | b45e067 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 3 | |
| 4 | /* |
| 5 | * Resolve referenced values inside constraints. |
| 6 | */ |
Lev Walkin | 7ec9b4c | 2005-03-20 12:57:21 +0000 | [diff] [blame] | 7 | int asn1constraint_resolve(arg_t *arg, asn1p_constraint_t *ct, |
Lev Walkin | 5253da4 | 2004-08-20 13:25:56 +0000 | [diff] [blame] | 8 | asn1p_expr_type_e topmost_parent_expression_type, |
| 9 | enum asn1p_constraint_type_e effective_constraint_type); |
Lev Walkin | b45e067 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 10 | |
| 11 | /* |
| 12 | * Collect all subtype constraints from all parents of this type and |
| 13 | * the type itself, forming a full constraint structure. |
| 14 | * Honors the constraints extensibility rules (46.8) |
| 15 | * and does other useful transformations. |
| 16 | */ |
| 17 | int asn1constraint_pullup(arg_t *arg); |
| 18 | |
Lev Walkin | c6cac8e | 2016-03-14 02:57:07 -0700 | [diff] [blame] | 19 | #endif /* ASN1FIX_CONSTRAINT_H */ |