Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2006-05-12 10:22:48 +0400
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2006-05-12 10:22:48 +0400
commitf5c9583cc6fb006c2912eea082d7da4cb31de754 (patch)
tree29caa7aebea23972c45687abc0586bafe8be09fc /winsup
parent239ed4afff6949d7d435aebf21fc368f5ebb49a2 (diff)
* include/mprapi.h: Fix header guard. Cleanup.
(MprAdminAcceptNewConnection,MprAdminAcceptNewConnection2) (MprAdminAcceptNewLink,MprAdminAcceptReauthentication) (MprAdminConnectionHangupNotification) (MprAdminConnectionHangupNotification2) (MprAdminGetIpAddressForUser)(MprAdminInitializeDll) (MprAdminTerminateDll,MprAdminLinkHangupNotification) (MprAdminReleaseIpAddress): Declare functions.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog11
-rw-r--r--winsup/w32api/include/mprapi.h42
2 files changed, 39 insertions, 14 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 7838caa06..7a30233e3 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,16 @@
2006-05-12 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+ * include/mprapi.h: Fix header guard. Cleanup.
+ (MprAdminAcceptNewConnection,MprAdminAcceptNewConnection2)
+ (MprAdminAcceptNewLink,MprAdminAcceptReauthentication)
+ (MprAdminConnectionHangupNotification)
+ (MprAdminConnectionHangupNotification2)
+ (MprAdminGetIpAddressForUser)(MprAdminInitializeDll)
+ (MprAdminTerminateDll,MprAdminLinkHangupNotification)
+ (MprAdminReleaseIpAddress): Declare functions.
+
+2006-05-12 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+
* include/ipifcons.h: Cleanup.
* include/ipxconst.h: Fix header guard.
* include/ipxrtdef.h: include <ipxconst.h>.
diff --git a/winsup/w32api/include/mprapi.h b/winsup/w32api/include/mprapi.h
index 9339eab68..ae509231b 100644
--- a/winsup/w32api/include/mprapi.h
+++ b/winsup/w32api/include/mprapi.h
@@ -1,3 +1,17 @@
+/*
+ * mprapi.h - Routing and Remote Access Services
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may use,
+ * modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAIMED. This includes but is not limited to warranties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
#ifndef _MPRAPI_H
#define _MPRAPI_H
#if __GNUC__ >= 3
@@ -12,20 +26,6 @@ extern "C" {
#endif
#if (_WIN32_WINNT >= 0x0500)
-/*--- Remote Access Service Administration Reference - RAS Administration Enumerated Types */
-typedef enum _RAS_HARDWARE_CONDITION {
- RAS_HARDWARE_OPERATIONAL,
- RAS_HARDWARE_FAILURE
-} RAS_HARDWARE_CONDITION;
-typedef enum _RAS_PORT_CONDITION {
- RAS_PORT_NON_OPERATIONAL,
- RAS_PORT_DISCONNECTED,
- RAS_PORT_CALLING_BACK,
- RAS_PORT_LISTENING,
- RAS_PORT_AUTHENTICATING,
- RAS_PORT_AUTHENTICATED,
- RAS_PORT_INITIALIZING
-} RAS_PORT_CONDITION;
/*--- Router Management Reference - Router Management Enumerated Types */
typedef enum _ROUTER_CONNECTION_STATE {
ROUTER_IF_STATE_UNREACHABLE,
@@ -55,6 +55,20 @@ typedef enum _ROUTER_INTERFACE_TYPE {
#define PID_IP 0x00000021
#define PID_IPX 0x0000002B
#define PID_NBF 0x0000003F
+/*--- Remote Access Service Administration Reference - RAS Administration Enumerated Types */
+typedef enum _RAS_HARDWARE_CONDITION {
+ RAS_HARDWARE_OPERATIONAL,
+ RAS_HARDWARE_FAILURE
+} RAS_HARDWARE_CONDITION;
+typedef enum _RAS_PORT_CONDITION {
+ RAS_PORT_NON_OPERATIONAL,
+ RAS_PORT_DISCONNECTED,
+ RAS_PORT_CALLING_BACK,
+ RAS_PORT_LISTENING,
+ RAS_PORT_AUTHENTICATING,
+ RAS_PORT_AUTHENTICATED,
+ RAS_PORT_INITIALIZING
+} RAS_PORT_CONDITION;
/*--- Remote Access Service Administration Reference - RAS Administration Structures */
#define ATADDRESSLEN 32
typedef struct _PPP_ATCP_INFO {