blob: 8ebe44875463337017a40c9a75c7b84466431aca [file] [log] [blame]
vlmfa67ddc2004-06-03 03:38:44 +00001/*
2 * This header exports fixer procedures that are common enough to be used
3 * in other modules.
4 */
5#ifndef _ASN1FIX_EXPORT_H_
6#define _ASN1FIX_EXPORT_H_
7
8#include <asn1fix_tags.h>
9
10/*
vlmb5be8c32004-08-18 05:42:05 +000011 * Create a human-readable representation of a reference and value.
12 */
13char const *asn1f_printable_reference(asn1p_ref_t *ref);
14char const *asn1f_printable_value(asn1p_value_t *value);
15
16/*
vlmfa67ddc2004-06-03 03:38:44 +000017 * Exportable version of an asn1f_lookup_symbol().
18 */
19asn1p_expr_t *asn1f_lookup_symbol_ex(
20 asn1p_t *asn,
vlm2e0c1942004-08-22 03:10:23 +000021 asn1p_module_t *mod,
vlmfa67ddc2004-06-03 03:38:44 +000022 asn1p_expr_t *expr,
23 asn1p_ref_t *ref);
24
25/*
26 * Exportable version of an asn1f_class_access().
27 */
28asn1p_expr_t *asn1f_class_access_ex(asn1p_t *asn, asn1p_module_t *mod,
vlm2e0c1942004-08-22 03:10:23 +000029 asn1p_expr_t *expr, asn1p_ref_t *);
vlmfa67ddc2004-06-03 03:38:44 +000030
31/*
32 * Exportable version of asn1f_find_terminal_type().
33 */
34asn1p_expr_t *asn1f_find_terminal_type_ex(asn1p_t *asn, asn1p_module_t *mod,
vlm2e0c1942004-08-22 03:10:23 +000035 asn1p_expr_t *tc);
vlmfa67ddc2004-06-03 03:38:44 +000036
vlmb5be8c32004-08-18 05:42:05 +000037/*
38 * Exportable version of asn1f_fix_dereference_values();
39 */
40int asn1f_fix_dereference_values_ex(asn1p_t *asn, asn1p_module_t *mod,
41 asn1p_expr_t *expr);
vlmfa67ddc2004-06-03 03:38:44 +000042
vlmb5be8c32004-08-18 05:42:05 +000043#endif /* _ASN1FIX_EXPORT_H_ */