blob: bfdf69ee6f11f5bad4daf7a09e05851579bf906b [file] [log] [blame]
// Copyright 2017 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.
#include <string>
namespace goldfishd {
// Supported messages from host.
namespace message {
// Host asks guest to auto login.
constexpr char kAutoLogin[] = "autologin=1";
} // namespace message
// Get one message from goldfish pipe, the message format is defined
bool ReadOneMessage(int fd, std::string* message_out);
} // namespace goldfishd