| // Copyright 2019 The Fuchsia 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 SRC_BRINGUP_BIN_NETSVC_BOARD_INFO_H_ |
| #define SRC_BRINGUP_BIN_NETSVC_BOARD_INFO_H_ |
| |
| #include <fuchsia/sysinfo/llcpp/fidl.h> |
| #include <lib/zx/channel.h> |
| #include <unistd.h> |
| |
| bool CheckBoardName(fidl::UnownedClientEnd<fuchsia_sysinfo::SysInfo> sysinfo, const char* name, |
| size_t length); |
| |
| bool ReadBoardInfo(fidl::UnownedClientEnd<fuchsia_sysinfo::SysInfo> sysinfo, void* data, |
| off_t offset, size_t* length); |
| |
| size_t BoardInfoSize(); |
| |
| #endif // SRC_BRINGUP_BIN_NETSVC_BOARD_INFO_H_ |