Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / message-stream-const.h
index 2c42ed9eef81f686d4891f30691f0f84d319d138..8ecdfe78c45a39fe7e949747163bfeaee81bd2c9 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE2_GRAPH_MESSAGE_STREAM_CONST_H
 
 /*
- * Copyright 2019 Simon Marchi <simon.marchi@efficios.com>
+ * 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
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 typedef enum bt_message_stream_clock_snapshot_state {
        BT_MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_UNKNOWN = 0,
-       BT_MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_KNOWN,
+       BT_MESSAGE_STREAM_CLOCK_SNAPSHOT_STATE_KNOWN = 1,
 } bt_message_stream_clock_snapshot_state;
 
 #ifdef __cplusplus
This page took 0.024424 seconds and 4 git commands to generate.