aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1fix/asn1fix_compat.h
blob: b147a1b2a28d00fafbd9423803867bb0aaa00a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef	ASN1FIX_COMPAT_H
#define	ASN1FIX_COMPAT_H

/*
 * Check that the expressions given are compatible in their type.
 * ORDER DOES MATTER!
 * The compatibility is being checked as if the value of b were used
 * to assign it to type a.
 */
int asn1f_check_type_compatibility(arg_t *arg,
	asn1p_expr_t *a,
	asn1p_expr_t *b);

#endif	/* ASN1FIX_COMPAT_H */