mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -18,16 +18,16 @@ namespace LookupServer {
|
|||
class MulticastDNS : public Core::UDPServer {
|
||||
C_OBJECT(MulticastDNS)
|
||||
public:
|
||||
Vector<DNSAnswer> lookup(const DNSName&, DNSRecordType record_type);
|
||||
Vector<DNSAnswer> lookup(DNSName const&, DNSRecordType record_type);
|
||||
|
||||
private:
|
||||
explicit MulticastDNS(Object* parent = nullptr);
|
||||
|
||||
void announce();
|
||||
ErrorOr<size_t> emit_packet(const DNSPacket&, const sockaddr_in* destination = nullptr);
|
||||
ErrorOr<size_t> emit_packet(DNSPacket const&, sockaddr_in const* destination = nullptr);
|
||||
|
||||
void handle_packet();
|
||||
void handle_query(const DNSPacket&);
|
||||
void handle_query(DNSPacket const&);
|
||||
|
||||
Vector<IPv4Address> local_addresses() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue