]> git.cworth.org Git - apitrace/blobdiff - log.hpp
First stab at binary trace and retracing.
[apitrace] / log.hpp
diff --git a/log.hpp b/log.hpp
index 4dc5337cf248f6b4e7f4c87b9d4b614a778c0e4b..fa1f91e2b7a08afca932bd28f60a7aada064724e 100644 (file)
--- a/log.hpp
+++ b/log.hpp
@@ -1,6 +1,6 @@
 /**************************************************************************
  *
- * Copyright 2007-2009 VMware, Inc.
+ * Copyright 2007-2010 VMware, Inc.
  * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,7 +29,6 @@
 namespace Log {
 
     void Open(const char *name);
-    void ReOpen(void);
     void Close(void);
     
     void BeginCall(const char *function);
@@ -56,18 +55,19 @@ namespace Log {
     void BeginBitmask(const char *type);
     void EndBitmask(void);
 
-    void BeginReference(const char *type, const void *addr);
-    void EndReference(void);
+    void BeginPointer(const char *type, const void *addr);
+    void EndPointer(void);
 
     void LiteralBool(bool value);
     void LiteralSInt(signed long long value);
     void LiteralUInt(unsigned long long value);
+    void LiteralFloat(float value);
     void LiteralFloat(double value);
     void LiteralString(const char *str);
     void LiteralWString(const wchar_t *str);
-    void LiteralNamedConstant(const char *str);
-    void LiteralOpaque(const void *addr);
+    void LiteralNamedConstant(const char *name, long long value);
     void LiteralNull(void);
+    void LiteralOpaque(void);
 }
 
 #endif /* _LOG_HPP_ */