diff options
author | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2006-05-02 16:21:21 +0400 |
---|---|---|
committer | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2006-05-02 16:21:21 +0400 |
commit | b8a1621817470051d1db7f6363fd329fe2bc5fe4 (patch) | |
tree | 654839f1228a5954384b6914214d8ec9fdea176a | |
parent | fa8ffde6a4fde531b520ddc5c907866e5b53814e (diff) |
* include/mprapi.h (MprAdminConnection*,MprAdminPort*): Add declaration.
* lib/mprapi.def: New file.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/mprapi.h | 11 | ||||
-rw-r--r-- | winsup/w32api/lib/mprapi.def | 11 |
3 files changed, 26 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index f0fd57239..9251c305e 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,10 @@ 2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net> + * include/mprapi.h (MprAdminConnection*,MprAdminPort*): Add declaration. + * lib/mprapi.def: New file. + +2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net> + * include/mprapi.h (PPP_*INFO*, RAS_CONNECTION_*, RAS_PORT_*, RAS_USER_*): New structures. * include/mprapi.h (RAS_FLAGS_*,PPP_LCP_*,RASCCPCA_* ,PPP_CCP_*,MAX_*, diff --git a/winsup/w32api/include/mprapi.h b/winsup/w32api/include/mprapi.h index 19b385756..e991a594b 100644 --- a/winsup/w32api/include/mprapi.h +++ b/winsup/w32api/include/mprapi.h @@ -121,7 +121,6 @@ extern "C" { #define PPP_LCP_CHAP_MS 0x00000080 #define PPP_LCP_CHAP_MSV2 0x00000081 #define PPP_LCP_MULTILINK_FRAMING 0x00000001 - typedef enum _RAS_HARDWARE_CONDITION { RAS_HARDWARE_OPERATIONAL, RAS_HARDWARE_FAILURE @@ -427,6 +426,16 @@ typedef struct _RAS_USER_1 { WCHAR wszPhoneNumber[MAX_PHONE_NUMBER_LEN+1]; BYTE bfPrivilege2; } RAS_USER_1,*PRAS_USER_1; +typedef HANDLE RAS_SERVER_HANDLE; +DWORD WINAPI MprAdminConnectionClearStats(RAS_SERVER_HANDLE,HANDLE); +DWORD WINAPI MprAdminConnectionEnum(RAS_SERVER_HANDLE,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +DWORD WINAPI MprAdminConnectionGetInfo(RAS_SERVER_HANDLE,DWORD,HANDLE,LPBYTE*); +DWORD WINAPI MprAdminConnectionRemoveQuarantine(HANDLE,HANDLE,BOOL); +DWORD WINAPI MprAdminPortClearStats(RAS_SERVER_HANDLE,HANDLE); +DWORD WINAPI MprAdminPortDisconnect(RAS_SERVER_HANDLE,HANDLE); +DWORD WINAPI MprAdminPortEnum(RAS_SERVER_HANDLE,DWORD,HANDLE,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD); +DWORD WINAPI MprAdminPortGetInfo(RAS_SERVER_HANDLE,DWORD,HANDLE,LPBYTE); +DWORD WINAPI MprAdminPortReset(RAS_SERVER_HANDLE,HANDLE); #endif #ifdef __cplusplus diff --git a/winsup/w32api/lib/mprapi.def b/winsup/w32api/lib/mprapi.def new file mode 100644 index 000000000..b28a5d02e --- /dev/null +++ b/winsup/w32api/lib/mprapi.def @@ -0,0 +1,11 @@ +LIBRARY MPRAPI.DLL +EXPORTS +MprAdminConnectionClearStats@8 +MprAdminConnectionEnum@28 +MprAdminConnectionGetInfo@16 +MprAdminConnectionRemoveQuarantine@12 +MprAdminPortClearStats@8 +MprAdminPortDisconnect@8 +MprAdminPortEnum@32 +MprAdminPortGetInfo@16 +MprAdminPortReset@8 |