summaryrefslogtreecommitdiff
path: root/demangle.h
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-13 07:28:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-13 07:28:12 -0800
commit59749d048d9e452f049f9151735b5256756919c3 (patch)
tree9b0935c93a3b028fd1dd35a2c632510743e7826f /demangle.h
downloadltrace-59749d048d9e452f049f9151735b5256756919c3.tar.gz
ltrace-59749d048d9e452f049f9151735b5256756919c3.tar.bz2
ltrace-59749d048d9e452f049f9151735b5256756919c3.zip
Imported Upstream version 0.5.3upstream/0.5.3
Diffstat (limited to 'demangle.h')
-rw-r--r--demangle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/demangle.h b/demangle.h
new file mode 100644
index 0000000..beac791
--- /dev/null
+++ b/demangle.h
@@ -0,0 +1,12 @@
+#include "config.h"
+
+extern char *cplus_demangle(const char *mangled, int options);
+
+const char *my_demangle(const char *function_name);
+
+/* Options passed to cplus_demangle (in 2nd parameter). */
+
+#define DMGL_NO_OPTS 0 /* For readability... */
+#define DMGL_PARAMS (1 << 0) /* Include function args */
+#define DMGL_ANSI (1 << 1) /* Include const, volatile, etc */
+#define DMGL_JAVA (1 << 2) /* Demangle as Java rather than C++. */