// This file was automatically generated by bifcl from /pobj/zeek-3.1.5/zeek-3.1.5/src/broker/comm.bif (alternative mode).

#if defined(BRO_IN_NETVAR) || ! defined(_pobj_zeek_3_1_5_zeek_3_1_5_build_src_broker_comm_bif)
#ifndef BRO_IN_NETVAR
#ifndef _pobj_zeek_3_1_5_zeek_3_1_5_build_src_broker_comm_bif
#define _pobj_zeek_3_1_5_zeek_3_1_5_build_src_broker_comm_bif
#include "bro-bif.h"
#endif
#endif

namespace Broker { extern EventHandlerPtr status;  }
namespace BifEvent { namespace Broker {  void generate_status(analyzer::Analyzer* analyzer, Val* endpoint, StringVal* msg);  }  } 
namespace Broker { extern EventHandlerPtr peer_added;  }
namespace BifEvent { namespace Broker {  void generate_peer_added(analyzer::Analyzer* analyzer, Val* endpoint, StringVal* msg);  }  } 
namespace Broker { extern EventHandlerPtr peer_removed;  }
namespace BifEvent { namespace Broker {  void generate_peer_removed(analyzer::Analyzer* analyzer, Val* endpoint, StringVal* msg);  }  } 
namespace Broker { extern EventHandlerPtr peer_lost;  }
namespace BifEvent { namespace Broker {  void generate_peer_lost(analyzer::Analyzer* analyzer, Val* endpoint, StringVal* msg);  }  } 
namespace Broker { extern EventHandlerPtr error;  }
namespace BifEvent { namespace Broker {  void generate_error(analyzer::Analyzer* analyzer, Val* code, StringVal* msg);  }  } 
namespace BifEnum { namespace Broker { enum ErrorCode {
	UNSPECIFIED = 1,
	PEER_INCOMPATIBLE = 2,
	PEER_INVALID = 3,
	PEER_UNAVAILABLE = 4,
	PEER_TIMEOUT = 5,
	MASTER_EXISTS = 6,
	NO_SUCH_MASTER = 7,
	NO_SUCH_KEY = 8,
	REQUEST_TIMEOUT = 9,
	TYPE_CLASH = 10,
	INVALID_DATA = 11,
	BACKEND_FAILURE = 12,
	STALE_DATA = 13,
	CAF_ERROR = 100,
}; } }
namespace BifType { namespace Enum{ namespace Broker {  extern EnumType * ErrorCode;  } } }
namespace BifEnum { namespace Broker { enum PeerStatus {
	INITIALIZING,
	CONNECTING,
	CONNECTED,
	PEERED,
	DISCONNECTED,
	RECONNECTING,
}; } }
namespace BifType { namespace Enum{ namespace Broker {  extern EnumType * PeerStatus;  } } }
namespace BifFunc { namespace Broker { extern Val* bro___listen(Frame* frame, val_list*); }  }
namespace BifFunc { namespace Broker { extern Val* bro___peer(Frame* frame, val_list*); }  }
namespace BifFunc { namespace Broker { extern Val* bro___unpeer(Frame* frame, val_list*); }  }
namespace BifFunc { namespace Broker { extern Val* bro___peers(Frame* frame, val_list*); }  }
namespace BifFunc { namespace Broker { extern Val* bro___node_id(Frame* frame, val_list*); }  }

#endif
