1// Copyright 2017 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#pragma once
6
7#pragma GCC visibility push(hidden)
8
9#include <zircon/types.h>
10#include <stddef.h>
11
12struct bootfs;
13
14// Handle loader-service RPCs on channel until there are no more.
15// Consumes the channel.
16void loader_service(zx_handle_t log, struct bootfs*, zx_handle_t channel);
17
18#pragma GCC visibility pop
19