summaryrefslogtreecommitdiff
path: root/tools/libltgrey.h
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-30 06:26:28 (GMT)
committerJohn Denker <jsd@av8n.com>2012-07-30 06:26:28 (GMT)
commitf8be4baf5a2318363b42f8883f66ed8a976dfc79 (patch)
tree9f747a0423647b016376fe353ceea197a5848cbf /tools/libltgrey.h
parent2f6fd23b841c1f4e3c18d1cbfd228784aa8c3298 (diff)
scan40 appears to be working, much cleaner than last week's version
Diffstat (limited to 'tools/libltgrey.h')
-rw-r--r--tools/libltgrey.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/libltgrey.h b/tools/libltgrey.h
index cf744d1..14ed144 100644
--- a/tools/libltgrey.h
+++ b/tools/libltgrey.h
@@ -3,6 +3,11 @@
#include <vector>
#include <map>
+// beware: access illogically comes *before* modification
+// in the array passed to utimes:
+const int upd_ac(0);
+const int upd_mod(1);
+
#define state_40_macro \
foo(unseen) \
foo(green) \
@@ -40,5 +45,7 @@ public:
void dump(const std::string var);
int maybe_mkdir(const std::string somedir, const std::string msg);
state_40 get40(const std::string mid);
+ state_40 get40(const std::string mid, timeval times[2]);
int set40(const std::string mid, const int shift);
+ void scan40(const int copies);
};