X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Fevent-const.h;h=fec42ea08a60ad291e02f77e05f2fc0b7427b02a;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=15623bd433b06aff2cbdc2bae59cbebcb8e9e893;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/trace-ir/event-const.h b/include/babeltrace2/trace-ir/event-const.h index 15623bd4..fec42ea0 100644 --- a/include/babeltrace2/trace-ir/event-const.h +++ b/include/babeltrace2/trace-ir/event-const.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_TRACE_IR_EVENT_CONST_H -#define BABELTRACE_TRACE_IR_EVENT_CONST_H +#ifndef BABELTRACE2_TRACE_IR_EVENT_CONST_H +#define BABELTRACE2_TRACE_IR_EVENT_CONST_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2013, 2014 Jérémie Galarneau + * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -22,23 +21,18 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * - * The Common Trace Format (CTF) Specification is available at - * http://www.efficios.com/ctf */ -/* For bt_event, bt_event_class, bt_field, bt_packet */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #ifdef __cplusplus extern "C" { #endif -typedef enum bt_event_status { - BT_EVENT_STATUS_OK = 0, - BT_EVENT_STATUS_NOMEM = -12, -} bt_event_status; - extern const bt_event_class *bt_event_borrow_class_const( const bt_event *event); @@ -61,4 +55,4 @@ extern const bt_field *bt_event_borrow_payload_field_const( } #endif -#endif /* BABELTRACE_TRACE_IR_EVENT_CONST_H */ +#endif /* BABELTRACE2_TRACE_IR_EVENT_CONST_H */