diff options
author | Patrick Venture <venture@google.com> | 2018-12-11 10:22:14 -0800 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-12-11 18:26:42 -0800 |
commit | af69625faa119d87fc66f8c18406ea0f238bad27 (patch) | |
tree | fc603643cf8ae789627d624e137d74c586bbb526 /tools/lpc.cpp | |
parent | bf58cd6464495e34ca961955ec7d1730de565902 (diff) | |
download | phosphor-ipmi-flash-af69625faa119d87fc66f8c18406ea0f238bad27.tar.gz phosphor-ipmi-flash-af69625faa119d87fc66f8c18406ea0f238bad27.zip |
tools: start implementing data interface
The host must provide multiple data interfaces. Each data interface is
responsible for configuring its data pathway and sending the contents
via this pathway, as well as any flow control.
Change-Id: If856519536d01043e69c45044fcd0ad525592486
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'tools/lpc.cpp')
-rw-r--r-- | tools/lpc.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/lpc.cpp b/tools/lpc.cpp new file mode 100644 index 0000000..9e8e01d --- /dev/null +++ b/tools/lpc.cpp @@ -0,0 +1,23 @@ +/* + * Copyright 2018 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "lpc.hpp" + +bool LpcDataHandler::sendContents(const std::string& input, + std::uint16_t session) +{ + return false; +} |