aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1fix/asn1fix_compat.h
blob: 429e7dd89cfc047732d5a7bb05df6bf42fbc40e0 (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_ */