blob: f5a60a4aa4e6967d2cd4e56693b59c0ba908aa9e [file] [log] [blame]
// Copyright 2018 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.
#include <lib/async-loop/cpp/loop.h>
#include "garnet/bin/mdns/service/mdns_service_impl.h"
#include "lib/component/cpp/startup_context.h"
int main(int argc, const char** argv) {
async::Loop loop(&kAsyncLoopConfigAttachToThread);
std::unique_ptr<component::StartupContext> startup_context =
component::StartupContext::CreateFromStartupInfo();
mdns::MdnsServiceImpl impl(startup_context.get());
loop.Run();
return 0;
}