Module: wine Branch: master Commit: 1ddcc3fa258f8049e510988970bf31098cc23dc0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1ddcc3fa258f8049e510988970...
Author: Jeff Latimer lats@yless4u.com.au Date: Fri May 11 22:53:23 2007 +1000
hnetcfg: Define icftypes.idl.
---
.gitignore | 1 + include/Makefile.in | 1 + include/icftypes.idl | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore index 62efdba..9510c3b 100644 --- a/.gitignore +++ b/.gitignore @@ -693,6 +693,7 @@ include/exdisp.h include/hlink.h include/htiframe.h include/iads.h +include/icftypes.h include/indexsrv.h include/mediaobj.h include/mimeinfo.h diff --git a/include/Makefile.in b/include/Makefile.in index 7dc0cc3..7c8a25d 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -19,6 +19,7 @@ IDL_H_SRCS = \ hlink.idl \ htiframe.idl \ iads.idl \ + icftypes.idl \ indexsrv.idl \ mediaobj.idl \ mimeinfo.idl \ diff --git a/include/icftypes.idl b/include/icftypes.idl new file mode 100644 index 0000000..9cc0b6a --- /dev/null +++ b/include/icftypes.idl @@ -0,0 +1,69 @@ +/* + * Types for the ICF api + * + * Copyright 2007 Jeff Latimer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * + */ + +import "wtypes.idl"; + +typedef enum NET_FW_PROFILE_TYPE_ +{ + NET_FW_PROFILE_DOMAIN, + NET_FW_PROFILE_STANDARD, + NET_FW_PROFILE_CURRENT, + NET_FW_PROFILE_TYPE_MAX +} NET_FW_PROFILE_TYPE; + +typedef enum NET_FW_IP_VERSION_ +{ + NET_FW_IP_VERSION_V4, + NET_FW_IP_VERSION_V6, + NET_FW_IP_VERSION_ANY, + NET_FW_IP_VERSION_MAX +} NET_FW_IP_VERSION; + +typedef enum NET_FW_POLICY_TYPE_ +{ + NET_FW_POLICY_GROUP, + NET_FW_POLICY_LOCAL, + NET_FW_POLICY_EFFECTIVE, + NET_FW_POLICY_TYPE_MAX +} NET_FW_POLICY_TYPE; + +typedef enum NET_FW_SCOPE_ +{ + NET_FW_SCOPE_ALL, + NET_FW_SCOPE_LOCAL_SUBNET, + NET_FW_SCOPE_CUSTOM, + NET_FW_SCOPE_MAX +} NET_FW_SCOPE; + +typedef enum NET_FW_SERVICE_TYPE_ +{ + NET_FW_SERVICE_FILE_AND_PRINT, + NET_FW_SERVICE_UPNP, + NET_FW_SERVICE_REMOTE_DESKTOP, + NET_FW_SERVICE_NONE, + NET_FW_SERVICE_TYPE_MAX +} NET_FW_SERVICE_TYPE; + +typedef enum NET_FW_IP_PROTOCOL_ +{ + NET_FW_IP_PROTOCOL_TCP = 6, + NET_FW_IP_PROTOCOL_UDP = 17 +} NET_FW_IP_PROTOCOL;