X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fmessage-stream-beginning-const.h;h=69fdaa481911262ca36e793227be7a9c70a6f35a;hb=901f0ce8eca409028109888889ddeafb08d7dd69;hp=630c30c18426d06f14506fa5b5798eb85750de8d;hpb=71c5da58f2e63c0ea0df3b603d615f5aa3dde008;p=babeltrace.git diff --git a/include/babeltrace2/graph/message-stream-beginning-const.h b/include/babeltrace2/graph/message-stream-beginning-const.h index 630c30c1..69fdaa48 100644 --- a/include/babeltrace2/graph/message-stream-beginning-const.h +++ b/include/babeltrace2/graph/message-stream-beginning-const.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H -#define BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H +#ifndef BABELTRACE2_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H +#define BABELTRACE2_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2016 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 @@ -24,8 +23,12 @@ * SOFTWARE. */ -/* For bt_message, bt_clock_snapshot, bt_stream */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include +#include #ifdef __cplusplus extern "C" { @@ -34,8 +37,16 @@ extern "C" { extern const bt_stream *bt_message_stream_beginning_borrow_stream_const( const bt_message *message); +extern bt_message_stream_clock_snapshot_state +bt_message_stream_beginning_borrow_default_clock_snapshot_const( + const bt_message *message, const bt_clock_snapshot **snapshot); + +extern const bt_clock_class * +bt_message_stream_beginning_borrow_stream_class_default_clock_class_const( + const bt_message *msg); + #ifdef __cplusplus } #endif -#endif /* BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H */ +#endif /* BABELTRACE2_GRAPH_MESSAGE_STREAM_BEGINNING_CONST_H */