File: asn1fix_constraint.h

package info (click to toggle)
asn1c 0.9.28%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,948 kB
  • sloc: ansic: 34,066; makefile: 7,820; sh: 2,089; yacc: 2,040; lex: 593; perl: 97; cpp: 13
file content (19 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef	ASN1FIX_CONSTRAINT_H
#define	ASN1FIX_CONSTRAINT_H

/*
 * Resolve referenced values inside constraints.
 */
int asn1constraint_resolve(arg_t *arg, asn1p_constraint_t *ct,
	asn1p_expr_type_e topmost_parent_expression_type,
	enum asn1p_constraint_type_e effective_constraint_type);

/*
 * Collect all subtype constraints from all parents of this type and
 * the type itself, forming a full constraint structure.
 * Honors the constraints extensibility rules (46.8)
 * and does other useful transformations.
 */
int asn1constraint_pullup(arg_t *arg);

#endif	/* ASN1FIX_CONSTRAINT_H */