RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
FirewallUtils.h File Reference
#include <Windows.h>
#include <shellapi.h>
#include <string>
#include <sstream>
Include dependency graph for FirewallUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  FirewallUtils
 

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

std::string FirewallUtils::psEscape (const std::string &s)
 
bool FirewallUtils::runPSElevatedWait (const std::string &psCommand)
 
void FirewallUtils::removeRuleElevated (const std::string &displayName)
 
void FirewallUtils::addInboundAnyTcpForExe (const std::string &displayName, const std::string &programPath, bool privateOnly=true)
 
void FirewallUtils::addInboundAnyUdpForExe (const std::string &displayName, const std::string &programPath, bool privateOnly=true)
 

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 3 of file FirewallUtils.h.