vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
vlm | 8a09e0f | 2005-02-25 14:20:30 +0000 | [diff] [blame] | 8 | #include "asn1fix_tags.h" |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 9 | |
| 10 | /* |
vlm | b5be8c3 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 11 | * Create a human-readable representation of a reference and value. |
| 12 | */ |
| 13 | char const *asn1f_printable_reference(asn1p_ref_t *ref); |
| 14 | char const *asn1f_printable_value(asn1p_value_t *value); |
| 15 | |
| 16 | /* |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 17 | * Exportable version of an asn1f_lookup_symbol(). |
| 18 | */ |
| 19 | asn1p_expr_t *asn1f_lookup_symbol_ex( |
| 20 | asn1p_t *asn, |
vlm | 2e0c194 | 2004-08-22 03:10:23 +0000 | [diff] [blame] | 21 | asn1p_module_t *mod, |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 22 | asn1p_expr_t *expr, |
| 23 | asn1p_ref_t *ref); |
| 24 | |
| 25 | /* |
| 26 | * Exportable version of an asn1f_class_access(). |
| 27 | */ |
| 28 | asn1p_expr_t *asn1f_class_access_ex(asn1p_t *asn, asn1p_module_t *mod, |
vlm | 2e0c194 | 2004-08-22 03:10:23 +0000 | [diff] [blame] | 29 | asn1p_expr_t *expr, asn1p_ref_t *); |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 30 | |
| 31 | /* |
| 32 | * Exportable version of asn1f_find_terminal_type(). |
| 33 | */ |
vlm | 04f75f2 | 2004-09-22 16:03:19 +0000 | [diff] [blame] | 34 | asn1p_expr_t *asn1f_find_terminal_type_ex(asn1p_t *asn, asn1p_expr_t *tc); |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 35 | |
vlm | b5be8c3 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 36 | /* |
| 37 | * Exportable version of asn1f_fix_dereference_values(); |
| 38 | */ |
| 39 | int asn1f_fix_dereference_values_ex(asn1p_t *asn, asn1p_module_t *mod, |
| 40 | asn1p_expr_t *expr); |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 41 | |
vlm | b5be8c3 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 42 | #endif /* _ASN1FIX_EXPORT_H_ */ |