2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / dis / util.h
index ca06ca6d208244ef732fee02c0b131f89ba82029..cbb9a4f365dfb92462643146bc288a0e59bace71 100644 (file)
@@ -1,10 +1,10 @@
-
 typedef struct {
        int code;
-       char *str;
-} map_t;
+       const char *str;
+} dis_map_t;
 
-const char *map      (guint32 code, map_t *table);
-const char *flags    (guint32 code, map_t *table);
-void        hex_dump (const char *buffer, int base, int count);
+const char *map       (guint32 code, dis_map_t *table);
+const char *flags     (guint32 code, dis_map_t *table);
+void        hex_dump  (const char *buffer, int base, int count);
+char*       data_dump (const char *data, int len, const char* prefix);