Commit | Line | Data |
---|---|---|
4c1456f0 JG |
1 | enum bt_plugin_type bt_plugin_get_type(void) |
2 | { | |
3 | return BT_PLUGIN_TYPE_SOURCE; | |
4 | } | |
5 | ||
6 | const char *bt_plugin_get_format_name(void) | |
7 | { | |
8 | return "ctf"; | |
9 | } | |
10 | ||
11 | static struct bt_notification_iterator *create_iterator(struct bt_plugin *plugin) | |
12 | { | |
13 | return NULL; | |
14 | } | |
15 | ||
16 | static void destroy_mein_shitzle(struct bt_plugin *plugin) | |
17 | { | |
18 | free(bt_plugin_get_data(plugin)); | |
19 | } | |
20 | ||
21 | struct 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 |