diff options
| author | Odd Stranne <odd@mullvad.net> | 2018-04-11 10:36:43 +0200 |
|---|---|---|
| committer | Odd Stranne <odd@mullvad.net> | 2018-04-11 10:36:43 +0200 |
| commit | 1b97cdcd94e549decfe1d6081155c8efefe9b110 (patch) | |
| tree | 66bc668bfe1868d925e32044373af83a3175bd2d /wfpctl/src/extras/cli/objectproperties.h | |
| parent | a5f7cf5592003093caaa658516758fb3c45206d1 (diff) | |
| parent | f53d90c5d69e81b09eec67a406825c96ea19d072 (diff) | |
| download | mullvadvpn-1b97cdcd94e549decfe1d6081155c8efefe9b110.tar.xz mullvadvpn-1b97cdcd94e549decfe1d6081155c8efefe9b110.zip | |
Merge branch 'migrate-wfpctl'
Diffstat (limited to 'wfpctl/src/extras/cli/objectproperties.h')
| -rw-r--r-- | wfpctl/src/extras/cli/objectproperties.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/wfpctl/src/extras/cli/objectproperties.h b/wfpctl/src/extras/cli/objectproperties.h new file mode 100644 index 0000000000..a4f349f828 --- /dev/null +++ b/wfpctl/src/extras/cli/objectproperties.h @@ -0,0 +1,15 @@ +#pragma once + +#include "propertylist.h" +#include "ipropertydecorator.h" +#include <windows.h> +#include <fwpmu.h> + +PropertyList SessionProperties(const FWPM_SESSION0 &session); +PropertyList ProviderProperties(const FWPM_PROVIDER0 &provider); +PropertyList EventProperties(const FWPM_NET_EVENT0 &event, IPropertyDecorator *decorator = nullptr); +PropertyList EventProperties(const FWPM_NET_EVENT1 &event, IPropertyDecorator *decorator = nullptr); +PropertyList FilterProperties(const FWPM_FILTER0 &filter, IPropertyDecorator *decorator = nullptr); +PropertyList LayerProperties(const FWPM_LAYER0 &layer, IPropertyDecorator *decorator = nullptr); +PropertyList ProviderContextProperties(const FWPM_PROVIDER_CONTEXT0 &context, IPropertyDecorator *decorator = nullptr); +PropertyList SublayerProperties(const FWPM_SUBLAYER0 &sublayer, IPropertyDecorator *decorator = nullptr); |
