diff options
Diffstat (limited to 'parse-events.h')
-rw-r--r-- | parse-events.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/parse-events.h b/parse-events.h index bb2fe83..32a8ff0 100644 --- a/parse-events.h +++ b/parse-events.h | |||
@@ -347,11 +347,21 @@ struct pevent { | |||
347 | struct event_format *last_event; | 347 | struct event_format *last_event; |
348 | }; | 348 | }; |
349 | 349 | ||
350 | /* Can be overridden */ | ||
350 | void die(char *fmt, ...); | 351 | void die(char *fmt, ...); |
351 | void *malloc_or_die(unsigned int size); | 352 | void *malloc_or_die(unsigned int size); |
352 | void warning(char *fmt, ...); | 353 | void warning(char *fmt, ...); |
353 | void pr_stat(char *fmt, ...); | 354 | void pr_stat(char *fmt, ...); |
354 | 355 | ||
356 | /* Always available */ | ||
357 | void __die(char *fmt, ...); | ||
358 | void __warning(char *fmt, ...); | ||
359 | void __pr_stat(char *fmt, ...); | ||
360 | |||
361 | void __vdie(char *fmt, ...); | ||
362 | void __vwarning(char *fmt, ...); | ||
363 | void __vpr_stat(char *fmt, ...); | ||
364 | |||
355 | static inline unsigned short | 365 | static inline unsigned short |
356 | __data2host2(struct pevent *pevent, unsigned short data) | 366 | __data2host2(struct pevent *pevent, unsigned short data) |
357 | { | 367 | { |
@@ -702,4 +712,6 @@ int pevent_filter_copy(struct event_filter *dest, struct event_filter *source); | |||
702 | int pevent_update_trivial(struct event_filter *dest, struct event_filter *source, | 712 | int pevent_update_trivial(struct event_filter *dest, struct event_filter *source, |
703 | enum filter_trivial_type type); | 713 | enum filter_trivial_type type); |
704 | 714 | ||
715 | int pevent_filter_compare(struct event_filter *filter1, struct event_filter *filter2); | ||
716 | |||
705 | #endif /* _PARSE_EVENTS_H */ | 717 | #endif /* _PARSE_EVENTS_H */ |