#include <ostream>
+#include "glimports.hpp"
+
+
+class JSONWriter;
+
+
+namespace image {
+ class Image;
+}
+
namespace glstate {
-void state_dump(std::ostream &os);
+const char *enumToString(GLenum pname);
+
+void dumpEnum(JSONWriter &json, GLenum pname);
+
+void dumpParameters(JSONWriter &json);
+
+void dumpCurrentContext(std::ostream &os);
+
+image::Image *
+getDrawBufferImage(GLenum format);
-} /* namespace glretrace */
+} /* namespace glstate */
#endif /* _GLSTATE_HPP_ */