feisty meow concerns codebase  2.140
windows_firewall Class Reference

#include <windows_firewall.h>

Static Public Member Functions

static int poke_firewall_hole (const astring &program_name, const astring &exception_name, const astring &hole_description)
 
static int poke_firewall_hole (int port_number, const astring &exception_name, const astring &hole_description, const astring &protocol)
 
static int remove_firewall_hole (const astring &program_name, const astring &exception_name)
 
static int remove_firewall_hole (int port_number, const astring &exception_name, const astring &protocol)
 

Detailed Description

Definition at line 22 of file windows_firewall.h.

Member Function Documentation

◆ poke_firewall_hole() [1/2]

int windows_firewall::poke_firewall_hole ( const astring &  program_name,
const astring &  exception_name,
const astring &  hole_description 
)
static

Definition at line 25 of file windows_firewall.cpp.

References netsh_app().

◆ poke_firewall_hole() [2/2]

int windows_firewall::poke_firewall_hole ( int  port_number,
const astring &  exception_name,
const astring &  hole_description,
const astring &  protocol 
)
static

Definition at line 87 of file windows_firewall.cpp.

References netsh_app().

◆ remove_firewall_hole() [1/2]

int windows_firewall::remove_firewall_hole ( const astring &  program_name,
const astring &  exception_name 
)
static

Definition at line 57 of file windows_firewall.cpp.

References netsh_app().

◆ remove_firewall_hole() [2/2]

int windows_firewall::remove_firewall_hole ( int  port_number,
const astring &  exception_name,
const astring &  protocol 
)
static

Definition at line 121 of file windows_firewall.cpp.

References netsh_app().


The documentation for this class was generated from the following files: