Lev Walkin | f15320b | 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 | */ |
Lev Walkin | c6cac8e | 2016-03-14 02:57:07 -0700 | [diff] [blame] | 5 | #ifndef ASN1FIX_EXPORT_H |
| 6 | #define ASN1FIX_EXPORT_H |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 7 | |
Lev Walkin | 4efbfb7 | 2005-02-25 14:20:30 +0000 | [diff] [blame] | 8 | #include "asn1fix_tags.h" |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 9 | |
| 10 | /* |
Lev Walkin | b45e067 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 11 | * Create a human-readable representation of a reference and value. |
| 12 | */ |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 13 | char const *asn1f_printable_reference(const asn1p_ref_t *ref); |
Lev Walkin | b45e067 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 14 | char const *asn1f_printable_value(asn1p_value_t *value); |
| 15 | |
| 16 | /* |
Lev Walkin | f15320b | 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, |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 21 | asn1p_expr_t *expr, |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 22 | const asn1p_ref_t *ref); |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 23 | |
| 24 | /* |
| 25 | * Exportable version of an asn1f_class_access(). |
| 26 | */ |
| 27 | asn1p_expr_t *asn1f_class_access_ex(asn1p_t *asn, asn1p_module_t *mod, |
Lev Walkin | ea6635b | 2017-08-06 23:23:04 -0700 | [diff] [blame] | 28 | asn1p_expr_t *expr, asn1p_expr_t *rhs_rspecs, const asn1p_ref_t *); |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 29 | |
| 30 | /* |
| 31 | * Exportable version of asn1f_find_terminal_type(). |
| 32 | */ |
Lev Walkin | 0a95d03 | 2004-09-22 16:03:19 +0000 | [diff] [blame] | 33 | asn1p_expr_t *asn1f_find_terminal_type_ex(asn1p_t *asn, asn1p_expr_t *tc); |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 34 | |
Lev Walkin | b45e067 | 2004-08-18 05:42:05 +0000 | [diff] [blame] | 35 | /* |
| 36 | * Exportable version of asn1f_fix_dereference_values(); |
| 37 | */ |
| 38 | int asn1f_fix_dereference_values_ex(asn1p_t *asn, asn1p_module_t *mod, |
| 39 | asn1p_expr_t *expr); |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 40 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 41 | /* |
| 42 | * Exportable version of asn1f_find_ancestor_type_with_PER_constraint(). |
| 43 | */ |
| 44 | asn1p_expr_t *asn1f_find_ancestor_type_with_PER_constraint_ex(asn1p_t *asn, |
| 45 | asn1p_expr_t *expr); |
| 46 | |
Lev Walkin | c6cac8e | 2016-03-14 02:57:07 -0700 | [diff] [blame] | 47 | #endif /* ASN1FIX_EXPORT_H */ |