Release 4.20.
[wine.git] / include / icftypes.idl
blob4b44fde07877ee07814b1caddbac01c38c43666f
1 /*
2 * Types for the ICF api
4 * Copyright 2007 Jeff Latimer
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 import "wtypes.idl";
24 typedef enum NET_FW_PROFILE_TYPE_
26 NET_FW_PROFILE_DOMAIN,
27 NET_FW_PROFILE_STANDARD,
28 NET_FW_PROFILE_CURRENT,
29 NET_FW_PROFILE_TYPE_MAX
30 } NET_FW_PROFILE_TYPE;
32 typedef enum NET_FW_PROFILE_TYPE2_
34 NET_FW_PROFILE2_DOMAIN = 0x0001,
35 NET_FW_PROFILE2_PRIVATE = 0x0002,
36 NET_FW_PROFILE2_PUBLIC = 0x0004,
37 NET_FW_PROFILE2_ALL = 0x7FFFFFFF
38 } NET_FW_PROFILE_TYPE2;
40 typedef enum NET_FW_IP_VERSION_
42 NET_FW_IP_VERSION_V4,
43 NET_FW_IP_VERSION_V6,
44 NET_FW_IP_VERSION_ANY,
45 NET_FW_IP_VERSION_MAX
46 } NET_FW_IP_VERSION;
48 typedef enum NET_FW_POLICY_TYPE_
50 NET_FW_POLICY_GROUP,
51 NET_FW_POLICY_LOCAL,
52 NET_FW_POLICY_EFFECTIVE,
53 NET_FW_POLICY_TYPE_MAX
54 } NET_FW_POLICY_TYPE;
56 typedef enum NET_FW_SCOPE_
58 NET_FW_SCOPE_ALL,
59 NET_FW_SCOPE_LOCAL_SUBNET,
60 NET_FW_SCOPE_CUSTOM,
61 NET_FW_SCOPE_MAX
62 } NET_FW_SCOPE;
64 typedef enum NET_FW_SERVICE_TYPE_
66 NET_FW_SERVICE_FILE_AND_PRINT,
67 NET_FW_SERVICE_UPNP,
68 NET_FW_SERVICE_REMOTE_DESKTOP,
69 NET_FW_SERVICE_NONE,
70 NET_FW_SERVICE_TYPE_MAX
71 } NET_FW_SERVICE_TYPE;
73 typedef enum NET_FW_IP_PROTOCOL_
75 NET_FW_IP_PROTOCOL_TCP = 6,
76 NET_FW_IP_PROTOCOL_UDP = 17
77 } NET_FW_IP_PROTOCOL;
79 typedef enum NET_FW_RULE_DIRECTION_
81 NET_FW_RULE_DIR_IN = 1,
82 NET_FW_RULE_DIR_OUT,
83 NET_FW_RULE_DIR_MAX
84 } NET_FW_RULE_DIRECTION;
86 typedef enum NET_FW_ACTION_
88 NET_FW_ACTION_BLOCK,
89 NET_FW_ACTION_ALLOW,
90 NET_FW_ACTION_MAX
91 } NET_FW_ACTION;
93 typedef enum NET_FW_MODIFY_STATE_
95 NET_FW_MODIFY_STATE_OK,
96 NET_FW_MODIFY_STATE_GP_OVERRIDE,
97 NET_FW_MODIFY_STATE_INBOUND_BLOCKED
98 } NET_FW_MODIFY_STATE;