| // Copyright 2014 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef BUFFET_DBUS_CONSTANTS_H_ |
| #define BUFFET_DBUS_CONSTANTS_H_ |
| |
| namespace buffet { |
| |
| namespace dbus_constants { |
| |
| // The service name claimed by the Buffet daemon. |
| extern const char kServiceName[]; |
| |
| // The object at this path implements the ObjectManager interface. |
| extern const char kRootServicePath[]; |
| |
| // D-Bus object path prefix for Command objects. |
| extern const char kCommandServicePathPrefix[]; |
| |
| namespace avahi { |
| |
| extern const char kServiceName[]; |
| |
| extern const char kServerInterface[]; |
| extern const char kServerPath[]; |
| extern const char kServerMethodEntryGroupNew[]; |
| extern const char kServerMethodServiceBrowserNew[]; |
| extern const char kServerMethodServiceResolverNew[]; |
| extern const char kServerMethodGetHostName[]; |
| extern const char kServerMethodGetState[]; |
| extern const char kServerSignalStateChanged[]; |
| |
| extern const char kGroupInterface[]; |
| extern const char kGroupMethodAddRecord[]; |
| extern const char kGroupMethodAddService[]; |
| extern const char kGroupMethodCommit[]; |
| extern const char kGroupMethodFree[]; |
| extern const char kGroupMethodReset[]; |
| extern const char kGroupSignalStateChanged[]; |
| |
| extern const char kServiceBrowserInterface[]; |
| extern const char kServiceBrowserMethodFree[]; |
| extern const char kServiceBrowserSignalItemNew[]; |
| extern const char kServiceBrowserSignalItemRemove[]; |
| extern const char kServiceBrowserSignalFailure[]; |
| |
| extern const char kServiceResolverInterface[]; |
| extern const char kServiceResolverMethodFree[]; |
| extern const char kGroupMethodUpdateServiceTxt[]; |
| extern const char kServiceResolverSignalFound[]; |
| extern const char kServiceResolverSignalFailure[]; |
| |
| } // namespace avahi |
| |
| } // namespace dbus_constants |
| |
| } // namespace buffet |
| |
| #endif // BUFFET_DBUS_CONSTANTS_H_ |