summaryrefslogtreecommitdiff
path: root/unit/atf-src/atf-report/reader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'unit/atf-src/atf-report/reader.hpp')
-rw-r--r--unit/atf-src/atf-report/reader.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/unit/atf-src/atf-report/reader.hpp b/unit/atf-src/atf-report/reader.hpp
index fc6ce473..2ef038a0 100644
--- a/unit/atf-src/atf-report/reader.hpp
+++ b/unit/atf-src/atf-report/reader.hpp
@@ -1,7 +1,7 @@
//
// Automated Testing Framework (atf)
//
-// Copyright (c) 2007, 2008, 2009, 2010 The NetBSD Foundation, Inc.
+// Copyright (c) 2007 The NetBSD Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -30,6 +30,10 @@
#if !defined(_ATF_REPORT_FORMATS_HPP_)
#define _ATF_REPORT_FORMATS_HPP_
+extern "C" {
+#include <sys/time.h>
+}
+
#include <istream>
#include <string>
@@ -65,12 +69,13 @@ protected:
virtual void got_info(const std::string&, const std::string&);
virtual void got_ntps(size_t);
virtual void got_tp_start(const std::string&, size_t);
- virtual void got_tp_end(const std::string&);
+ virtual void got_tp_end(struct timeval*, const std::string&);
virtual void got_tc_start(const std::string&);
virtual void got_tc_stdout_line(const std::string&);
virtual void got_tc_stderr_line(const std::string&);
- virtual void got_tc_end(const std::string&, const std::string&);
+ virtual void got_tc_end(const std::string&, struct timeval*,
+ const std::string&);
virtual void got_eof(void);
public: