mirror of
https://github.com/Michele-M-Media/HYPERHEN.git
synced 2026-10-22 08:32:20 -05:00
19 lines
543 B
C++
19 lines
543 B
C++
#pragma once
|
|
|
|
#include <onion/plugin_session.hpp>
|
|
|
|
namespace onion::daemon::plugin_ipc {
|
|
|
|
bool start();
|
|
void stop();
|
|
void restart();
|
|
bool is_listening();
|
|
|
|
/* Serve one accepted stream until EOF or a fatal protocol error. */
|
|
void serve_connection(int socket, plugin_session::SessionDirectory &directory,
|
|
plugin_ui::ProtocolBroker &ui_broker,
|
|
plugin_session::EventSource *events = nullptr,
|
|
plugin_session::HostServices *host = nullptr);
|
|
|
|
} // namespace onion::daemon::plugin_ipc
|