/src/zeek/build/src/analyzer/protocol/mqtt/events.bif.init.cc
Line | Count | Source |
1 | | // This file was automatically generated by bifcl from /src/zeek/src/analyzer/protocol/mqtt/events.bif (plugin mode). |
2 | | |
3 | | |
4 | | #include <list> |
5 | | #include <string> |
6 | | #include "zeek/plugin/Plugin.h" |
7 | | #include "zeek/Func.h" |
8 | | #include "events.bif.h" |
9 | | |
10 | | namespace plugin::Zeek_MQTT { |
11 | | |
12 | | void __bif_events_init(zeek::plugin::Plugin* plugin) |
13 | 66 | { |
14 | 66 | #ifdef __GNUC__ |
15 | 66 | #pragma GCC diagnostic push |
16 | 66 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" |
17 | | |
18 | 66 | #endif |
19 | 66 | ::mqtt_connect = zeek::event_registry->Register("mqtt_connect"); |
20 | 66 | plugin->AddBifItem("mqtt_connect", zeek::plugin::BifItem::EVENT); |
21 | 66 | ::mqtt_connack = zeek::event_registry->Register("mqtt_connack"); |
22 | 66 | plugin->AddBifItem("mqtt_connack", zeek::plugin::BifItem::EVENT); |
23 | 66 | ::mqtt_publish = zeek::event_registry->Register("mqtt_publish"); |
24 | 66 | plugin->AddBifItem("mqtt_publish", zeek::plugin::BifItem::EVENT); |
25 | 66 | ::mqtt_puback = zeek::event_registry->Register("mqtt_puback"); |
26 | 66 | plugin->AddBifItem("mqtt_puback", zeek::plugin::BifItem::EVENT); |
27 | 66 | ::mqtt_pubrec = zeek::event_registry->Register("mqtt_pubrec"); |
28 | 66 | plugin->AddBifItem("mqtt_pubrec", zeek::plugin::BifItem::EVENT); |
29 | 66 | ::mqtt_pubrel = zeek::event_registry->Register("mqtt_pubrel"); |
30 | 66 | plugin->AddBifItem("mqtt_pubrel", zeek::plugin::BifItem::EVENT); |
31 | 66 | ::mqtt_pubcomp = zeek::event_registry->Register("mqtt_pubcomp"); |
32 | 66 | plugin->AddBifItem("mqtt_pubcomp", zeek::plugin::BifItem::EVENT); |
33 | 66 | ::mqtt_subscribe = zeek::event_registry->Register("mqtt_subscribe"); |
34 | 66 | plugin->AddBifItem("mqtt_subscribe", zeek::plugin::BifItem::EVENT); |
35 | 66 | ::mqtt_suback = zeek::event_registry->Register("mqtt_suback"); |
36 | 66 | plugin->AddBifItem("mqtt_suback", zeek::plugin::BifItem::EVENT); |
37 | 66 | ::mqtt_unsubscribe = zeek::event_registry->Register("mqtt_unsubscribe"); |
38 | 66 | plugin->AddBifItem("mqtt_unsubscribe", zeek::plugin::BifItem::EVENT); |
39 | 66 | ::mqtt_unsuback = zeek::event_registry->Register("mqtt_unsuback"); |
40 | 66 | plugin->AddBifItem("mqtt_unsuback", zeek::plugin::BifItem::EVENT); |
41 | 66 | ::mqtt_pingreq = zeek::event_registry->Register("mqtt_pingreq"); |
42 | 66 | plugin->AddBifItem("mqtt_pingreq", zeek::plugin::BifItem::EVENT); |
43 | 66 | ::mqtt_pingresp = zeek::event_registry->Register("mqtt_pingresp"); |
44 | 66 | plugin->AddBifItem("mqtt_pingresp", zeek::plugin::BifItem::EVENT); |
45 | 66 | ::mqtt_disconnect = zeek::event_registry->Register("mqtt_disconnect"); |
46 | 66 | plugin->AddBifItem("mqtt_disconnect", zeek::plugin::BifItem::EVENT); |
47 | 66 | #ifdef __GNUC__ |
48 | | |
49 | | |
50 | 66 | #pragma GCC diagnostic pop |
51 | 66 | #endif |
52 | | |
53 | 66 | } |
54 | | } |
55 | | |
56 | | |