blob: eacd673e4959d7de635ab64ceac1f55104b8224b [file] [log] [blame]
// Copyright 2018 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.
#ifndef APMANAGER_FIREWALL_PROXY_INTERFACE_H_
#define APMANAGER_FIREWALL_PROXY_INTERFACE_H_
#include <string>
namespace apmanager {
class FirewallProxyInterface {
public:
virtual ~FirewallProxyInterface() {}
virtual bool RequestUdpPortAccess(const std::string& interface,
uint16_t port) = 0;
virtual bool ReleaseUdpPortAccess(const std::string& interface,
uint16_t port) = 0;
};
} // namespace apmanager
#endif // APMANAGER_FIREWALL_PROXY_INTERFACE_H_