-typedef struct _TimeRequest {
- TimeWindow time_window;
- guint num_events;
- LttvHook after_hook;
- gpointer after_hook_data;
-} TimeRequest;
+ /* Value considered as empty */
+typedef struct _EventsRequest {
+ LttTime start_time, /* Unset : { 0, 0 } */
+ LttvTracesetContextPosition start_position, /* Unset : num_traces = 0 */
+ LttTime end_time, /* Unset : { 0, 0 } */
+ guint num_events, /* Unset : G_MAXUINT */
+ LttvTracesetContextPosition end_position, /* Unset : num_traces = 0 */
+ LttvHooksById *before_traceset, /* Unset : NULL */
+ LttvHooksById *before_trace, /* Unset : NULL */
+ LttvHooksById *before_tracefile, /* Unset : NULL */
+ LttvHooksById *middle, /* Unset : NULL */
+ LttvHooksById *after_tracefile, /* Unset : NULL */
+ LttvHooksById *after_trace, /* Unset : NULL */
+ LttvHooksById *after_traceset /* Unset : NULL */
+} EventsRequest;
+