Support standard timestamp formats for begin/end
[babeltrace.git] / plugins / trimmer / trimmer.h
index 9f4a34af915273bf98bbf335316692471873f68a..869f22216d3f6659ea67346d2e494eef0f1d66d9 100644 (file)
 #include <babeltrace/plugin/component.h>
 #include <babeltrace/plugin/plugin-system.h>
 
+#define NSEC_PER_SEC   1000000000LL
+
+struct trimmer_bound {
+       int64_t value;
+       bool set;
+       bool lazy;
+       struct {
+               int hh, mm, ss, ns;
+               bool gmt;
+       } lazy_values;
+};
+
 struct trimmer {
-       int64_t range_start, range_end;
+       struct trimmer_bound begin, end;
 };
 
 #endif /* BABELTRACE_PLUGIN_TRIMMER_H */
This page took 0.024837 seconds and 4 git commands to generate.