projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: assign values to all public enumerators
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
self-component-port.h
diff --git
a/include/babeltrace2/graph/self-component-port.h
b/include/babeltrace2/graph/self-component-port.h
index c7f5be9b1cd28a1d10803ec4a6f7d2124c311f39..db08e2c79b334dd206398f7ba57ec3deb6b3ca75 100644
(file)
--- a/
include/babeltrace2/graph/self-component-port.h
+++ b/
include/babeltrace2/graph/self-component-port.h
@@
-1,8
+1,8
@@
-#ifndef BABELTRACE_GRAPH_SELF_COMPONENT_PORT_H
-#define BABELTRACE_GRAPH_SELF_COMPONENT_PORT_H
+#ifndef BABELTRACE
2
_GRAPH_SELF_COMPONENT_PORT_H
+#define BABELTRACE
2
_GRAPH_SELF_COMPONENT_PORT_H
/*
/*
- * Copyright
2017-2018 Philippe Proulx <pproulx@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
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@
-23,20
+23,16
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
-/*
- * For bt_port, bt_self_component_port, bt_self_component,
- * bt_connection, __BT_UPCAST_CONST
- */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <babeltrace2/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <babeltrace2/types.h>
#ifdef __cplusplus
extern "C" {
#endif
-typedef enum bt_self_component_port_status {
- BT_SELF_PORT_STATUS_OK = 0,
-} bt_self_component_port_status;
-
static inline
const bt_port *bt_self_component_port_as_port(
bt_self_component_port *self_port)
static inline
const bt_port *bt_self_component_port_as_port(
bt_self_component_port *self_port)
@@
-54,4
+50,4
@@
extern void *bt_self_component_port_get_data(
}
#endif
}
#endif
-#endif /* BABELTRACE_GRAPH_SELF_COMPONENT_PORT_H */
+#endif /* BABELTRACE
2
_GRAPH_SELF_COMPONENT_PORT_H */
This page took
0.035183 seconds
and
4
git commands to generate.