X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fmessage-stream-end.h;h=34b98b8f0900741051bdffb4d75d0f06ee3568a1;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=4f13eb1cbf4f04365d235227115b9e91fa654bde;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/graph/message-stream-end.h b/include/babeltrace2/graph/message-stream-end.h index 4f13eb1c..34b98b8f 100644 --- a/include/babeltrace2/graph/message-stream-end.h +++ b/include/babeltrace2/graph/message-stream-end.h @@ -1,9 +1,8 @@ -#ifndef BABELTRACE_GRAPH_MESSAGE_STREAM_END_H -#define BABELTRACE_GRAPH_MESSAGE_STREAM_END_H +#ifndef BABELTRACE2_GRAPH_MESSAGE_STREAM_END_H +#define BABELTRACE2_GRAPH_MESSAGE_STREAM_END_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,7 +23,10 @@ * SOFTWARE. */ -/* For bt_message, bt_self_message_iterator, bt_stream */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #ifdef __cplusplus @@ -39,8 +41,12 @@ bt_message *bt_message_stream_end_create( extern bt_stream *bt_message_stream_end_borrow_stream( bt_message *message); +extern +void bt_message_stream_end_set_default_clock_snapshot( + bt_message *message, uint64_t raw_value); + #ifdef __cplusplus } #endif -#endif /* BABELTRACE_GRAPH_MESSAGE_STREAM_END_H */ +#endif /* BABELTRACE2_GRAPH_MESSAGE_STREAM_END_H */