2 * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; under version 2 of the License.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 #include <babeltrace/babeltrace.h>
22 static bt_self_plugin_status
plugin_init(bt_self_plugin
*plugin
)
24 g_setenv("BT_TEST_PLUGIN_INIT_CALLED", "1", 1);
25 return BT_SELF_PLUGIN_STATUS_OK
;
28 static void plugin_exit(void)
30 g_setenv("BT_TEST_PLUGIN_EXIT_CALLED", "1", 1);
34 BT_PLUGIN(test_minimal
);
35 BT_PLUGIN_DESCRIPTION("Minimal Babeltrace plugin with no component classes");
36 BT_PLUGIN_AUTHOR("Janine Sutto");
37 BT_PLUGIN_LICENSE("Beerware");
38 BT_PLUGIN_INIT(plugin_init
);
39 BT_PLUGIN_EXIT(plugin_exit
);
This page took 0.029193 seconds and 4 git commands to generate.