From 490db8414513dd962f5960b62be7a9b722e0293f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 21 May 2015 15:10:48 -0400 Subject: [PATCH] Add initial plug-in stubs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/ctf/ctf-live/live.c | 0 plugins/ctf/ctf-reader/reader-internal.h | 40 ++++++++++++++++++++++++ plugins/ctf/{ => ctf-reader}/reader.c | 0 plugins/ctf/ctf-text/text.c | 0 4 files changed, 40 insertions(+) create mode 100644 plugins/ctf/ctf-live/live.c create mode 100644 plugins/ctf/ctf-reader/reader-internal.h rename plugins/ctf/{ => ctf-reader}/reader.c (100%) create mode 100644 plugins/ctf/ctf-text/text.c diff --git a/plugins/ctf/ctf-live/live.c b/plugins/ctf/ctf-live/live.c new file mode 100644 index 00000000..e69de29b diff --git a/plugins/ctf/ctf-reader/reader-internal.h b/plugins/ctf/ctf-reader/reader-internal.h new file mode 100644 index 00000000..cab8edb2 --- /dev/null +++ b/plugins/ctf/ctf-reader/reader-internal.h @@ -0,0 +1,40 @@ +#ifndef BABELTRACE_PLUGIN_CTF_READER_INTERNAL_H +#define BABELTRACE_PLUGIN_CTF_READER_INTERNAL_H + +/* + * BabelTrace - CTF Reader plug-in internal + * + * Copyright 2015 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 + + + +#ifdef __cplusplus +} +#endif + +#endif /* BABELTRACE_PLUGIN_CTF_READER_INTERNAL_H */ diff --git a/plugins/ctf/reader.c b/plugins/ctf/ctf-reader/reader.c similarity index 100% rename from plugins/ctf/reader.c rename to plugins/ctf/ctf-reader/reader.c diff --git a/plugins/ctf/ctf-text/text.c b/plugins/ctf/ctf-text/text.c new file mode 100644 index 00000000..e69de29b -- 2.34.1