Files
amnezia-client/ipc/ipc_interface.rep
T

29 lines
873 B
Plaintext
Raw Normal View History

2021-09-15 08:03:28 -07:00
#include <QtCore>
#include <QString>
#include <QJsonObject>
#include "../client/daemon/interfaceconfig.h"
2021-09-15 08:03:28 -07:00
class IpcInterface
{
SLOT( int createPrivilegedProcess() ); // return local pid
//SIGNAL(sendMessage(const QByteArray &message));
// Route functions
SLOT( int routeAddList(const QString &gw, const QStringList &ips) );
SLOT( bool clearSavedRoutes() );
SLOT( bool routeDeleteList(const QString &gw, const QStringList &ip) );
SLOT( void flushDns() );
2021-12-15 14:53:07 +03:00
SLOT( void resetIpStack() );
2021-09-15 08:03:28 -07:00
SLOT( bool checkAndInstallDriver() );
SLOT( QStringList getTapList() );
2022-01-30 17:35:57 +03:00
SLOT( void cleanUp() );
SLOT( void setLogsEnabled(bool enabled) );
SLOT( bool disableKillSwitch() );
2023-12-16 09:19:04 -05:00
SLOT( bool enablePeerTraffic( const QJsonObject &configStr) );
SLOT( bool enableKillSwitch( const QJsonObject &excludeAddr, int vpnAdapterIndex) );
2021-09-15 08:03:28 -07:00
};