#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 */