text plugin: add color support
[babeltrace.git] / plugins / trimmer / trimmer.h
index 28bb1e2f1fd24076061820a7b498c1cc39e3289d..4d82a2446f78748e5a86573ac81a27f002a379c2 100644 (file)
 
 #include <stdbool.h>
 #include <babeltrace/babeltrace-internal.h>
-#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 {
        struct trimmer_bound begin, end;
+       bool date;
+       int year, month, day;
 };
 
 #endif /* BABELTRACE_PLUGIN_TRIMMER_H */
This page took 0.025896 seconds and 4 git commands to generate.