projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: update copyrights
[babeltrace.git]
/
include
/
babeltrace
/
trace-ir
/
stream.h
diff --git
a/include/babeltrace/trace-ir/stream.h
b/include/babeltrace/trace-ir/stream.h
index 3ed0205e7866ae6711612ab1b46a9077ebf0bd6c..0849a4372207943bf4f392dffdbfcd11759c1f9f 100644
(file)
--- a/
include/babeltrace/trace-ir/stream.h
+++ b/
include/babeltrace/trace-ir/stream.h
@@
-2,10
+2,9
@@
#define BABELTRACE_TRACE_IR_STREAM_H
/*
#define BABELTRACE_TRACE_IR_STREAM_H
/*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
* Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
@@
-34,14
+33,22
@@
extern "C" {
#endif
extern "C" {
#endif
+struct bt_trace;
struct bt_stream;
struct bt_stream_class;
struct bt_stream;
struct bt_stream_class;
-extern struct bt_stream_class *bt_stream_borrow_class(struct bt_stream *stream);
+extern struct bt_stream *bt_stream_create(struct bt_stream_class *stream_class,
+ struct bt_trace *trace);
+
+extern struct bt_stream *bt_stream_create_with_id(
+ struct bt_stream_class *stream_class,
+ struct bt_trace *trace, uint64_t id);
-extern const char *bt_stream_get_name(struct bt_stream *stream);
+extern struct bt_trace *bt_stream_borrow_trace(struct bt_stream *stream);
+
+extern struct bt_stream_class *bt_stream_borrow_class(struct bt_stream *stream);
-extern
uint64_t bt_stream_get_id(struct bt_stream *stream
);
+extern
int bt_stream_set_name(struct bt_stream *stream, const char *name
);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.023913 seconds
and
4
git commands to generate.