blob: 7fd9ce11387c415edf1b51b8952ef687da5cd001 [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,
21 asn1p_module_t **module_rw,
22 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,
29 asn1p_expr_t *expr, asn1p_ref_t *, asn1p_module_t **mod_r);
30
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,
35 asn1p_expr_t *tc, asn1p_module_t **opt_module_r);
36
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_ */