Sync weaved with the latest version of libweave
Made corresponding changes to weaved to reflect the changes to
public interfaces from libweave
Change-Id: I5c2c276a75f869820b35f739b3a33f6e4b878876
diff --git a/buffet/avahi_mdns_client.h b/buffet/avahi_mdns_client.h
index 4b6cd05..7784218 100644
--- a/buffet/avahi_mdns_client.h
+++ b/buffet/avahi_mdns_client.h
@@ -35,9 +35,8 @@
~AvahiMdnsClient() override;
// weave::Mdns implementation.
- void PublishService(const std::string& service_type,
- uint16_t port,
- const std::map<std::string, std::string>& txt) override;
+ void PublishService(const std::string& service_type, uint16_t port,
+ const std::vector<std::string>& txt) override;
void StopPublishing(const std::string& service_type) override;
private:
@@ -70,7 +69,7 @@
// Convert a {string:string} text record into something we can send over
// dbus.
- TxtRecord GetTxtRecord(const std::map<std::string, std::string>& txt);
+ static TxtRecord GetTxtRecord(const std::vector<std::string>& txt);
void ConnectToAvahi();
void CreateEntryGroup();