blob: a027513cefbb7c5019522e624e24d23a043c4f16 [file] [log] [blame]
Lev Walkinc6cac8e2016-03-14 02:57:07 -07001#ifndef ASN1FIX_CONSTRAINT_H
2#define ASN1FIX_CONSTRAINT_H
Lev Walkinb45e0672004-08-18 05:42:05 +00003
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
Lev Walkinc6cac8e2016-03-14 02:57:07 -070019#endif /* ASN1FIX_CONSTRAINT_H */