blob: cc6621f998ce23484378a81773d2f99be316b19c [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 Walkin6fec44d2004-08-22 03:10:23 +00007int asn1constraint_resolve(arg_t *arg, asn1p_module_t *module,
8 asn1p_constraint_t *ct,
Lev Walkin5253da42004-08-20 13:25:56 +00009 asn1p_expr_type_e topmost_parent_expression_type,
10 enum asn1p_constraint_type_e effective_constraint_type);
Lev Walkinb45e0672004-08-18 05:42:05 +000011
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 */
18int asn1constraint_pullup(arg_t *arg);
19
20#endif /* _ASN1FIX_CONSTRAINT_H_ */