From 43350437a513e8ed1a158ff3013eb5efefd3dc3b Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 24 Apr 2017 21:48:04 -0400 Subject: [PATCH] Remove notification-schema.h: not needed for 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- include/Makefile.am | 1 - .../babeltrace/graph/notification-schema.h | 114 ------------------ lib/ctf-ir/trace.c | 1 - 3 files changed, 116 deletions(-) delete mode 100644 include/babeltrace/graph/notification-schema.h diff --git a/include/Makefile.am b/include/Makefile.am index cac65bb1b..ad1817ce4 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -54,7 +54,6 @@ babeltracegraphinclude_HEADERS = \ babeltrace/graph/notification-iterator.h \ babeltrace/graph/notification.h \ babeltrace/graph/notification-packet.h \ - babeltrace/graph/notification-schema.h \ babeltrace/graph/notification-stream.h \ babeltrace/graph/port.h \ babeltrace/graph/private-component-filter.h \ diff --git a/include/babeltrace/graph/notification-schema.h b/include/babeltrace/graph/notification-schema.h deleted file mode 100644 index eb6f09e93..000000000 --- a/include/babeltrace/graph/notification-schema.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef BABELTRACE_COMPONENT_NOTIFICATION_SCHEMA_H -#define BABELTRACE_COMPONENT_NOTIFICATION_SCHEMA_H - -/* - * BabelTrace - Plug-in Schema Change Notification - * - * Copyright 2016 Jérémie Galarneau - * - * Author: Jérémie Galarneau - * - * 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 - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -#ifdef __cplusplus -extern "C" { -#endif - -struct bt_notification; -struct bt_ctf_trace; -struct bt_ctf_stream_class; -struct bt_ctf_event_class; - -/* BT_NOTIFICATION_TYPE_NEW_TRACE */ -/** - * Create a new trace notification. - * - * @param trace The new trace - * @returns A new trace notification instance - * - * @see #bt_notification_type - */ -extern struct bt_notification *bt_notification_new_trace_create( - struct bt_ctf_trace *trace); - -/** - * Get a new trace notification's associated trace. - * - * @param notification New trace notification instance - * @returns A trace instance - * - * @see #bt_ctf_trace - */ -extern struct bt_ctf_trace *bt_notification_new_trace_get_trace( - struct bt_notification *notification); - - -/* BT_NOTIFICATION_TYPE_NEW_STREAM_CLASS */ -/** - * Create a new stream class notification. - * - * @param trace The event's trace - * @returns A new stream class notification instance - * - * @see #bt_notification_type - */ -extern struct bt_notification *bt_notification_new_stream_class_create( - struct bt_ctf_stream_class *stream_class); - -/** - * Get a new stream class notification's associated stream class. - * - * @param notification New stream class notification instance - * @returns A stream class instance - * - * @see #bt_ctf_stream_class - */ -extern struct bt_ctf_trace *bt_notification_new_stream_class_get_stream_class( - struct bt_notification *notification); - - -/* BT_NOTIFICATION_TYPE_EVENT_CLASS */ -/** - * Create a new trace notification. - * - * @param trace The event's trace - * @returns An event notification instance - * - * @see #bt_notification_type - */ -extern struct bt_notification *bt_notification_new_trace_create( - struct bt_ctf_trace *trace); - -/** - * Get a new trace notification's associated trace. - * - * @param notification New trace notification instance - * @returns A trace instance - * - * @see #bt_ctf_trace - */ -extern struct bt_ctf_trace *bt_notification_new_trace_get_trace( - struct bt_notification *notification); - -#ifdef __cplusplus -} -#endif - -#endif /* BABELTRACE_COMPONENT_NOTIFICATION_SCHEMA_H */ diff --git a/lib/ctf-ir/trace.c b/lib/ctf-ir/trace.c index e0ef7b61c..9514c6d7f 100644 --- a/lib/ctf-ir/trace.c +++ b/lib/ctf-ir/trace.c @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include -- 2.34.1