summaryrefslogtreecommitdiff
path: root/server/src/admin_export.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-11-25 11:59:37 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2011-11-25 11:59:37 +0100
commitdd1fb6e16ff777d3e098076d1015c6c565b51bb7 (patch)
treedb7055cd53a91677b17f2a261b20f3093359f5c8 /server/src/admin_export.h
parentc41c204f421c4c1bc453932d2d5552227d794201 (diff)
Reuse environment (macrolist) instead of creating a new one. Add 'to' and 'from' times to export, both unixtimestamps.
Diffstat (limited to 'server/src/admin_export.h')
-rw-r--r--server/src/admin_export.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/admin_export.h b/server/src/admin_export.h
index 69c7a36..804d373 100644
--- a/server/src/admin_export.h
+++ b/server/src/admin_export.h
@@ -29,9 +29,11 @@
#define __PRACRO_ADMIN_EXPORT_H__
#include <string>
+#include <time.h>
#include "environment.h"
-std::string admin_export(Environment &env, std::string templ, bool *ok);
+std::string admin_export(Environment &env, std::string templ, bool *ok,
+ time_t from, time_t to);
#endif/*__PRACRO_ADMIN_EXPORT_H__*/