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

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

extern zeek::EventHandlerPtr modbus_message; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_message.")]] void generate_modbus_message(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, int is_orig);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_message(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, int is_orig);  }  }
extern zeek::EventHandlerPtr modbus_exception; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_exception.")]] void generate_modbus_exception(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t code);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_exception(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t code);  }  }
extern zeek::EventHandlerPtr modbus_read_coils_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_coils_request.")]] void generate_modbus_read_coils_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, bro_uint_t quantity);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_coils_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, bro_uint_t quantity);  }  }
extern zeek::EventHandlerPtr modbus_read_coils_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_coils_response.")]] void generate_modbus_read_coils_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, zeek::Val* coils);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_coils_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> coils);  }  }
extern zeek::EventHandlerPtr modbus_read_discrete_inputs_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_discrete_inputs_request.")]] void generate_modbus_read_discrete_inputs_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, bro_uint_t quantity);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_discrete_inputs_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, bro_uint_t quantity);  }  }
extern zeek::EventHandlerPtr modbus_read_discrete_inputs_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_discrete_inputs_response.")]] void generate_modbus_read_discrete_inputs_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, zeek::Val* coils);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_discrete_inputs_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> coils);  }  }
extern zeek::EventHandlerPtr modbus_read_holding_registers_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_holding_registers_request.")]] void generate_modbus_read_holding_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, bro_uint_t quantity);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_holding_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, bro_uint_t quantity);  }  }
extern zeek::EventHandlerPtr modbus_read_holding_registers_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_holding_registers_response.")]] void generate_modbus_read_holding_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, zeek::Val* registers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_holding_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> registers);  }  }
extern zeek::EventHandlerPtr modbus_read_input_registers_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_input_registers_request.")]] void generate_modbus_read_input_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, bro_uint_t quantity);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_input_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, bro_uint_t quantity);  }  }
extern zeek::EventHandlerPtr modbus_read_input_registers_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_input_registers_response.")]] void generate_modbus_read_input_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, zeek::Val* registers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_input_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> registers);  }  }
extern zeek::EventHandlerPtr modbus_write_single_coil_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_single_coil_request.")]] void generate_modbus_write_single_coil_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t address, int value);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_single_coil_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t address, int value);  }  }
extern zeek::EventHandlerPtr modbus_write_single_coil_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_single_coil_response.")]] void generate_modbus_write_single_coil_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t address, int value);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_single_coil_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t address, int value);  }  }
extern zeek::EventHandlerPtr modbus_write_single_register_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_single_register_request.")]] void generate_modbus_write_single_register_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t address, bro_uint_t value);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_single_register_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t address, bro_uint_t value);  }  }
extern zeek::EventHandlerPtr modbus_write_single_register_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_single_register_response.")]] void generate_modbus_write_single_register_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t address, bro_uint_t value);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_single_register_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t address, bro_uint_t value);  }  }
extern zeek::EventHandlerPtr modbus_write_multiple_coils_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_multiple_coils_request.")]] void generate_modbus_write_multiple_coils_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, zeek::Val* coils);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_multiple_coils_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, zeek::IntrusivePtr<zeek::Val> coils);  }  }
extern zeek::EventHandlerPtr modbus_write_multiple_coils_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_multiple_coils_response.")]] void generate_modbus_write_multiple_coils_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, bro_uint_t quantity);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_multiple_coils_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, bro_uint_t quantity);  }  }
extern zeek::EventHandlerPtr modbus_write_multiple_registers_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_multiple_registers_request.")]] void generate_modbus_write_multiple_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, zeek::Val* registers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_multiple_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, zeek::IntrusivePtr<zeek::Val> registers);  }  }
extern zeek::EventHandlerPtr modbus_write_multiple_registers_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_multiple_registers_response.")]] void generate_modbus_write_multiple_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address, bro_uint_t quantity);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_multiple_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address, bro_uint_t quantity);  }  }
extern zeek::EventHandlerPtr modbus_read_file_record_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_file_record_request.")]] void generate_modbus_read_file_record_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_file_record_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers);  }  }
extern zeek::EventHandlerPtr modbus_read_file_record_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_file_record_response.")]] void generate_modbus_read_file_record_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_file_record_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers);  }  }
extern zeek::EventHandlerPtr modbus_write_file_record_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_file_record_request.")]] void generate_modbus_write_file_record_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_file_record_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers);  }  }
extern zeek::EventHandlerPtr modbus_write_file_record_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_write_file_record_response.")]] void generate_modbus_write_file_record_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_write_file_record_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers);  }  }
extern zeek::EventHandlerPtr modbus_mask_write_register_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_mask_write_register_request.")]] void generate_modbus_mask_write_register_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t address, bro_uint_t and_mask, bro_uint_t or_mask);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_mask_write_register_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t address, bro_uint_t and_mask, bro_uint_t or_mask);  }  }
extern zeek::EventHandlerPtr modbus_mask_write_register_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_mask_write_register_response.")]] void generate_modbus_mask_write_register_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t address, bro_uint_t and_mask, bro_uint_t or_mask);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_mask_write_register_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t address, bro_uint_t and_mask, bro_uint_t or_mask);  }  }
extern zeek::EventHandlerPtr modbus_read_write_multiple_registers_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_write_multiple_registers_request.")]] void generate_modbus_read_write_multiple_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t read_start_address, bro_uint_t read_quantity, bro_uint_t write_start_address, zeek::Val* write_registers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_write_multiple_registers_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t read_start_address, bro_uint_t read_quantity, bro_uint_t write_start_address, zeek::IntrusivePtr<zeek::Val> write_registers);  }  }
extern zeek::EventHandlerPtr modbus_read_write_multiple_registers_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_write_multiple_registers_response.")]] void generate_modbus_read_write_multiple_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, zeek::Val* written_registers);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_write_multiple_registers_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> written_registers);  }  }
extern zeek::EventHandlerPtr modbus_read_fifo_queue_request; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_fifo_queue_request.")]] void generate_modbus_read_fifo_queue_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, bro_uint_t start_address);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_fifo_queue_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, bro_uint_t start_address);  }  }
extern zeek::EventHandlerPtr modbus_read_fifo_queue_response; 
namespace BifEvent {  [[deprecated("Remove in 4.1. Use zeek::BifEvent::enqueue_modbus_read_fifo_queue_response.")]] void generate_modbus_read_fifo_queue_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::Val* headers, zeek::Val* fifos);  } 
namespace zeek { namespace BifEvent {  void enqueue_modbus_read_fifo_queue_response(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, zeek::IntrusivePtr<zeek::Val> headers, zeek::IntrusivePtr<zeek::Val> fifos);  }  }

#endif
