blob: 164b157350cbc4e27cbfb454d0d45c880cf4f91e [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTE_HELPERS_H_
#define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTE_HELPERS_H_
#include <map>
#include "dbus/object_path.h"
namespace dbus {
class MessageReader;
}
namespace bluez {
// Helper methods used from various GATT attribute providers and clients.
bool ReadOptions(dbus::MessageReader* reader,
std::map<std::string, dbus::MessageReader>* options);
} // namespace bluez
#endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTE_HELPERS_H_