X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Fstream-const.h;h=2465343cd8c8ff32bdf2d67709219def5dac6b6f;hb=056deb59eb33e87c06c0067907768ab08aff74a2;hp=9607ef412bf681ed590e6228f95e35feaaf32e7a;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/trace-ir/stream-const.h b/include/babeltrace2/trace-ir/stream-const.h index 9607ef41..2465343c 100644 --- a/include/babeltrace2/trace-ir/stream-const.h +++ b/include/babeltrace2/trace-ir/stream-const.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_TRACE_IR_STREAM_CONST_H -#define BABELTRACE_TRACE_IR_STREAM_CONST_H +#ifndef BABELTRACE2_TRACE_IR_STREAM_CONST_H +#define BABELTRACE2_TRACE_IR_STREAM_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,25 +21,20 @@ * 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_trace, bt_stream, bt_stream_class */ -#include +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif #include +#include + #ifdef __cplusplus extern "C" { #endif -typedef enum bt_stream_status { - BT_STREAM_STATUS_OK = 0, - BT_STREAM_STATUS_NOMEM = -12, -} bt_stream_status; - extern const bt_stream_class *bt_stream_borrow_class_const( const bt_stream *stream); @@ -72,4 +66,4 @@ extern void bt_stream_put_ref(const bt_stream *stream); } #endif -#endif /* BABELTRACE_TRACE_IR_STREAM_CONST_H */ +#endif /* BABELTRACE2_TRACE_IR_STREAM_CONST_H */