blob: 9e692efab5f35be7b89bbec5ce3433658a4b2260 [file] [log] [blame]
Lev Walkinb45e0672004-08-18 05:42:05 +00001#ifndef _ASN1FIX_CONSTRAINT_H_
2#define _ASN1FIX_CONSTRAINT_H_
3
4/*
5 * Resolve referenced values inside constraints.
6 */
Lev Walkin7ec9b4c2005-03-20 12:57:21 +00007int asn1constraint_resolve(arg_t *arg, asn1p_constraint_t *ct,
Lev Walkin5253da42004-08-20 13:25:56 +00008 asn1p_expr_type_e topmost_parent_expression_type,
9 enum asn1p_constraint_type_e effective_constraint_type);
Lev Walkinb45e0672004-08-18 05:42:05 +000010
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 */
17int asn1constraint_pullup(arg_t *arg);
18
19#endif /* _ASN1FIX_CONSTRAINT_H_ */