2 * This header exports fixer procedures that are common enough to be used
5 #ifndef ASN1FIX_EXPORT_H
6 #define ASN1FIX_EXPORT_H
8 #include "asn1fix_tags.h"
10 struct asn1_namespace_s; /* Forward declaration. */
12 void asn1f_use_standard_namespaces(asn1p_t *asn);
15 * Lookup the module by its oid. oid is mandatory.
17 asn1p_module_t *asn1f_lookup_module_ex(asn1p_t *asn, const char *module_name,
18 const asn1p_oid_t *oid);
21 * Create a human-readable representation of a reference and value.
23 char const *asn1f_printable_reference(const asn1p_ref_t *ref);
24 char const *asn1f_printable_value(asn1p_value_t *value);
27 * Exportable version of an asn1f_lookup_symbol().
29 asn1p_expr_t *asn1f_lookup_symbol_ex(
31 struct asn1_namespace_s *ns,
33 const asn1p_ref_t *ref);
36 * Exportable version of an asn1f_class_access().
38 asn1p_expr_t *asn1f_class_access_ex(asn1p_t *asn, asn1p_module_t *mod,
39 struct asn1_namespace_s *ns,
41 asn1p_expr_t *rhs_rspecs,
45 * Exportable version of asn1f_find_terminal_type().
47 asn1p_expr_t *asn1f_find_terminal_type_ex(asn1p_t *asn,
48 struct asn1_namespace_s *ns,
52 * Exportable version of asn1f_fix_dereference_values();
54 int asn1f_fix_dereference_values_ex(asn1p_t *asn, asn1p_module_t *mod,
58 * Exportable version of asn1f_find_ancestor_type_with_PER_constraint().
60 asn1p_expr_t *asn1f_find_ancestor_type_with_PER_constraint_ex(asn1p_t *asn,
63 #endif /* ASN1FIX_EXPORT_H */