// This file was automatically generated by bifcl from /build/zeek/src/zeek-4.0.3/src/analyzer/protocol/bittorrent/events.bif (plugin mode).

#if defined(BRO_IN_NETVAR) || ! defined(_build_zeek_src_zeek_4_0_3_build_src_analyzer_protocol_bittorrent_events_bif)
#ifndef BRO_IN_NETVAR
#ifndef _build_zeek_src_zeek_4_0_3_build_src_analyzer_protocol_bittorrent_events_bif
#define _build_zeek_src_zeek_4_0_3_build_src_analyzer_protocol_bittorrent_events_bif
#include "zeek/zeek-bif.h"
#endif
#endif

extern zeek::EventHandlerPtr bittorrent_peer_handshake; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_handshake.")]] void generate_bittorrent_peer_handshake(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::StringVal* reserved, zeek::StringVal* info_hash, zeek::StringVal* peer_id);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_handshake(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> reserved, zeek::IntrusivePtr<zeek::StringVal> info_hash, zeek::IntrusivePtr<zeek::StringVal> peer_id);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_keep_alive; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_keep_alive.")]] void generate_bittorrent_peer_keep_alive(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_keep_alive(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_choke; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_choke.")]] void generate_bittorrent_peer_choke(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_choke(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_unchoke; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_unchoke.")]] void generate_bittorrent_peer_unchoke(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_unchoke(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_interested; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_interested.")]] void generate_bittorrent_peer_interested(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_interested(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_not_interested; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_not_interested.")]] void generate_bittorrent_peer_not_interested(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_not_interested(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_have; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_have.")]] void generate_bittorrent_peer_have(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t piece_index);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_have(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t piece_index);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_bitfield; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_bitfield.")]] void generate_bittorrent_peer_bitfield(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::StringVal* bitfield);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_bitfield(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> bitfield);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_request.")]] void generate_bittorrent_peer_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t index, bro_uint_t begin, bro_uint_t length);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t index, bro_uint_t begin, bro_uint_t length);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_piece; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_piece.")]] void generate_bittorrent_peer_piece(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t index, bro_uint_t begin, bro_uint_t piece_length);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_piece(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t index, bro_uint_t begin, bro_uint_t piece_length);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_cancel; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_cancel.")]] void generate_bittorrent_peer_cancel(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t index, bro_uint_t begin, bro_uint_t length);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_cancel(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t index, bro_uint_t begin, bro_uint_t length);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_port; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_port.")]] void generate_bittorrent_peer_port(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::PortVal* listen_port);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_port(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::PortVal> listen_port);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_unknown; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_unknown.")]] void generate_bittorrent_peer_unknown(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t message_id, zeek::StringVal* data);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_unknown(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, bro_uint_t message_id, zeek::IntrusivePtr<zeek::StringVal> data);  }  }
extern zeek::EventHandlerPtr bittorrent_peer_weird; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bittorrent_peer_weird.")]] void generate_bittorrent_peer_weird(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::StringVal* msg);  } 
namespace zeek { namespace BifEvent {  void enqueue_bittorrent_peer_weird(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> msg);  }  }
extern zeek::EventHandlerPtr bt_tracker_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bt_tracker_request.")]] void generate_bt_tracker_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::StringVal* uri, zeek::Val* headers);  } 
namespace zeek { namespace BifEvent {  void enqueue_bt_tracker_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::StringVal> uri, zeek::IntrusivePtr<zeek::Val> headers);  }  }
extern zeek::EventHandlerPtr bt_tracker_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bt_tracker_response.")]] void generate_bt_tracker_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, bro_uint_t status, zeek::Val* headers, zeek::Val* peers, zeek::Val* benc);  } 
namespace zeek { namespace BifEvent {  void enqueue_bt_tracker_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, bro_uint_t status, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> peers, zeek::IntrusivePtr<zeek::Val> benc);  }  }
extern zeek::EventHandlerPtr bt_tracker_response_not_ok; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bt_tracker_response_not_ok.")]] void generate_bt_tracker_response_not_ok(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, bro_uint_t status, zeek::Val* headers);  } 
namespace zeek { namespace BifEvent {  void enqueue_bt_tracker_response_not_ok(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, bro_uint_t status, zeek::IntrusivePtr<zeek::Val> headers);  }  }
extern zeek::EventHandlerPtr bt_tracker_weird; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_bt_tracker_weird.")]] void generate_bt_tracker_weird(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::StringVal* msg);  } 
namespace zeek { namespace BifEvent {  void enqueue_bt_tracker_weird(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> msg);  }  }

#endif
