Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ArchDaemonUnix.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "arch/ArchDaemonNone.h"
11
12#undef ARCH_DAEMON
13#define ARCH_DAEMON ArchDaemonUnix
14
17{
18public:
19 ArchDaemonUnix() = default;
20 ~ArchDaemonUnix() override = default;
21
22 // IArchDaemon overrides
23 int daemonize(const char *name, DaemonFunc const &func) override;
24};
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:27
ArchDaemonNone()=default
ArchDaemonUnix()=default
~ArchDaemonUnix() override=default
int daemonize(const char *name, DaemonFunc const &func) override
Daemonize the process.
Definition ArchDaemonUnix.cpp:49
std::function< int(int, const char **)> DaemonFunc
Definition IArchDaemon.h:24