blob: 9cc0b6ad13b006cfc46c7362224cb2c1d582758e [file] [log] [blame]
Jeff Latimer1ddcc3f2007-05-11 22:53:23 +10001/*
2 * Types for the ICF api
3 *
4 * Copyright 2007 Jeff Latimer
5 *
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.
10 *
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.
15 *
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
19 *
20 */
21
22import "wtypes.idl";
23
24typedef enum NET_FW_PROFILE_TYPE_
25{
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;
31
32typedef enum NET_FW_IP_VERSION_
33{
34 NET_FW_IP_VERSION_V4,
35 NET_FW_IP_VERSION_V6,
36 NET_FW_IP_VERSION_ANY,
37 NET_FW_IP_VERSION_MAX
38} NET_FW_IP_VERSION;
39
40typedef enum NET_FW_POLICY_TYPE_
41{
42 NET_FW_POLICY_GROUP,
43 NET_FW_POLICY_LOCAL,
44 NET_FW_POLICY_EFFECTIVE,
45 NET_FW_POLICY_TYPE_MAX
46} NET_FW_POLICY_TYPE;
47
48typedef enum NET_FW_SCOPE_
49{
50 NET_FW_SCOPE_ALL,
51 NET_FW_SCOPE_LOCAL_SUBNET,
52 NET_FW_SCOPE_CUSTOM,
53 NET_FW_SCOPE_MAX
54} NET_FW_SCOPE;
55
56typedef enum NET_FW_SERVICE_TYPE_
57{
58 NET_FW_SERVICE_FILE_AND_PRINT,
59 NET_FW_SERVICE_UPNP,
60 NET_FW_SERVICE_REMOTE_DESKTOP,
61 NET_FW_SERVICE_NONE,
62 NET_FW_SERVICE_TYPE_MAX
63} NET_FW_SERVICE_TYPE;
64
65typedef enum NET_FW_IP_PROTOCOL_
66{
67 NET_FW_IP_PROTOCOL_TCP = 6,
68 NET_FW_IP_PROTOCOL_UDP = 17
69} NET_FW_IP_PROTOCOL;