Rename some functions and types in the top level interface to be more
consistent.  Also make private some functions that Valgrind never
used.



git-svn-id: svn://svn.valgrind.org/vex/trunk@718 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/main/vex_util.h b/priv/main/vex_util.h
index 021e4e0..d9e4d85 100644
--- a/priv/main/vex_util.h
+++ b/priv/main/vex_util.h
@@ -75,6 +75,25 @@
 extern Bool vex_streq ( const Char* s1, const Char* s2 );
 
 
+/* Storage management: clear the area, and allocate from it. */
+
+/* By default allocation occurs in the temporary area.  However, it is
+   possible to switch to permanent area allocation if that's what you
+   want.  Permanent area allocation is very limited, tho. */
+
+typedef
+   enum {
+      VexAllocModeTEMP, 
+      VexAllocModePERM 
+   }
+   VexAllocMode;
+
+extern void         vexSetAllocMode ( VexAllocMode );
+extern VexAllocMode vexGetAllocMode ( void );
+
+extern void vexClearTEMP ( void );
+
+
 #endif /* ndef __VEX_UTIL_H */
 
 /*---------------------------------------------------------------*/