/* Helper routines for C++ support in GDB.
- Copyright (C) 2002-2005, 2007-2012 Free Software Foundation, Inc.
+ Copyright (C) 2002-2013 Free Software Foundation, Inc.
Contributed by MontaVista Software.
Namespace support contributed by David Carlton.
extern char *cp_canonicalize_string_no_typedefs (const char *string);
+typedef const char *(canonicalization_ftype) (struct type *, void *);
+
+extern char *cp_canonicalize_string_full (const char *string,
+ canonicalization_ftype *finder,
+ void *data);
+
extern char *cp_class_name_from_physname (const char *physname);
extern char *method_name_from_physname (const char *physname);
VEC (const_char_ptr) *excludes,
struct obstack *obstack);
-extern void cp_initialize_namespace (void);
-
-extern void cp_finalize_namespace (struct block *static_block,
- struct obstack *obstack);
-
extern void cp_set_block_scope (const struct symbol *symbol,
struct block *block,
struct obstack *obstack,
const struct block *block,
const domain_enum domain);
-extern struct type *cp_lookup_nested_type (struct type *parent_type,
- const char *nested_name,
- const struct block *block);
+extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
+ const char *nested_name,
+ const struct block *block);
struct type *cp_lookup_transparent_type (const char *name);