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 | c0e03b9 | 2017-08-22 01:48:23 -0700 | [diff] [blame] | 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); |
Lev Walkin | b45e067 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 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 | |
Lev Walkin | c6cac8e | 2016-03-14 02:57:07 -0700 | [diff] [blame] | 20 | #endif /* ASN1FIX_CONSTRAINT_H */ |