Add headers to build system
[babeltrace.git] / plugins / ctf / reader.c
CommitLineData
4c1456f0
JG
1enum bt_plugin_type bt_plugin_get_type(void)
2{
3 return BT_PLUGIN_TYPE_SOURCE;
4}
5
6const char *bt_plugin_get_format_name(void)
7{
8 return "ctf";
9}
10
11static struct bt_notification_iterator *create_iterator(struct bt_plugin *plugin)
12{
13 return NULL;
14}
15
16static void destroy_mein_shitzle(struct bt_plugin *plugin)
17{
18 free(bt_plugin_get_data(plugin));
19}
20
21struct bt_plugin *bt_plugin_create(struct bt_ctf_field *params)
22{
23 void *mein_shit = 0x4589;
24
25 return bt_plugin_source_create("ctf", mein_shit, destroy_func,
26 create_iterator);
27}
28
This page took 0.024849 seconds and 4 git commands to generate.