vlm | b5be8c3 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 1 | #ifndef _ASN1FIX_CONSTRAINT_H_ |
| 2 | #define _ASN1FIX_CONSTRAINT_H_ |
| 3 | |
| 4 | /* |
| 5 | * Resolve referenced values inside constraints. |
| 6 | */ |
vlm | 2e0c194 | 2004-08-22 03:10:23 +0000 | [diff] [blame] | 7 | int asn1constraint_resolve(arg_t *arg, asn1p_module_t *module, |
| 8 | asn1p_constraint_t *ct, |
vlm | d8d9035 | 2004-08-20 13:25:56 +0000 | [diff] [blame] | 9 | asn1p_expr_type_e topmost_parent_expression_type, |
| 10 | enum asn1p_constraint_type_e effective_constraint_type); |
vlm | b5be8c3 | 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 | |
| 20 | #endif /* _ASN1FIX_CONSTRAINT_H_ */ |