diff options
author | Earnie Boyd <earnie@users.sf.net> | 2001-09-10 16:50:06 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2001-09-10 16:50:06 +0000 |
commit | bb36822663aeb8e82a3c0c6dd7aa0ad287b6fb65 (patch) | |
tree | 2405c0439d3a22d59613547d3eb8f18a39c71fbd /winsup/w32api | |
parent | 34ed8fcee6a447d575fae995767b35a247238698 (diff) | |
download | newlib-bb36822663aeb8e82a3c0c6dd7aa0ad287b6fb65.zip newlib-bb36822663aeb8e82a3c0c6dd7aa0ad287b6fb65.tar.gz newlib-bb36822663aeb8e82a3c0c6dd7aa0ad287b6fb65.tar.bz2 |
2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
* include/wininet.h (InternetAutodial): Add prototype.
(InternetAutodialHangup): Ditto.
(InternetDial): Ditto.
(InternetGetConnectedState): Ditto.
(InternetGoOnline): Ditto.
(InternetHangUp): Ditto.
(InternetSetDialState): Ditto.
Add associated INTERNET_* auto dial flags.
Guard typedefs and prototypes with #ifndef RC_INVOKED.
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 12 | ||||
-rw-r--r-- | winsup/w32api/include/wininet.h | 23 |
2 files changed, 34 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index baa94ae..83a3457 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,15 @@ +2001-09-05 Danny Smith <dannysmith@users.sourceforge.net> + + * include/wininet.h (InternetAutodial): Add prototype. + (InternetAutodialHangup): Ditto. + (InternetDial): Ditto. + (InternetGetConnectedState): Ditto. + (InternetGoOnline): Ditto. + (InternetHangUp): Ditto. + (InternetSetDialState): Ditto. + Add associated INTERNET_* auto dial flags. + Guard typedefs and prototypes with #ifndef RC_INVOKED. + 2001-09-04 Earnie Boyd <earnie@SF.Net> * lib/Makefile.in: Move the setting of variable libdir to after the diff --git a/winsup/w32api/include/wininet.h b/winsup/w32api/include/wininet.h index ec1e695..1790338 100644 --- a/winsup/w32api/include/wininet.h +++ b/winsup/w32api/include/wininet.h @@ -455,7 +455,19 @@ GOPHER_TYPE_UNIX_UUENCODED|GOPHER_TYPE_BINARY|GOPHER_TYPE_GIF|GOPHER_TYPE_IMAGE| #define HSR_INITIATE 8 #define HSR_DOWNLOAD 16 #define HSR_CHUNKED 32 +#define INTERNET_DIAL_UNATTENDED 0x8000 +#define INTERNET_DIALSTATE_DISCONNECTED 1 +#define INTERENT_GOONLINE_REFRESH 1 +#define INTERENT_GOONLINE_MASK 1 +#define INTERNET_AUTODIAL_FORCE_ONLINE 1 +#define INTERNET_AUTODIAL_FORCE_UNATTENDED 2 +#define INTERNET_AUTODIAL_FAILIFSECURITYCHECK 4 +#define INTERNET_CONNECTION_MODEM 1 +#define INTERNET_CONNECTION_LAN 2 +#define INTERNET_CONNECTION_PROXY 4 +#define INTERNET_CONNECTION_MODEM_BUSY 8 +#ifndef RC_INVOKED typedef PVOID HINTERNET; typedef HINTERNET *LPHINTERNET; typedef WORD INTERNET_PORT,*LPINTERNET_PORT; @@ -788,6 +800,14 @@ BOOL WINAPI HttpSendRequestExA(HINTERNET,LPINTERNET_BUFFERSA,LPINTERNET_BUFFERSA BOOL WINAPI HttpSendRequestExW(HINTERNET,LPINTERNET_BUFFERSW,LPINTERNET_BUFFERSW,DWORD,DWORD); BOOL WINAPI HttpEndRequestA(HINTERNET,LPINTERNET_BUFFERSA,DWORD,DWORD); BOOL WINAPI HttpEndRequestW(HINTERNET,LPINTERNET_BUFFERSW,DWORD,DWORD); +DWORD WINAPI InternetDial(HWND,LPTSTR,DWORD,LPDWORD,DWORD); +DWORD WINAPI InternetHangUp(DWORD,DWORD); +BOOL WINAPI InternetGoOnline(LPTSTR,HWND,DWORD); +BOOL WINAPI InternetAutodial(DWORD,DWORD); +BOOL WINAPI InternetAutodialHangup(DWORD); +BOOL WINAPI InternetGetConnectedState(LPDWORD,DWORD); +BOOL WINAPI InternetSetDialState(LPCTSTR,DWORD,DWORD); + #ifdef UNICODE #define InternetCrackUrl InternetCrackUrlW #define InternetCreateUrl InternetCreateUrlW @@ -878,7 +898,8 @@ BOOL WINAPI HttpEndRequestW(HINTERNET,LPINTERNET_BUFFERSW,DWORD,DWORD); #define RetrieveUrlCacheEntryFile RetrieveUrlCacheEntryFileA #define HttpSendRequestEx HttpSendRequestExA #define HttpEndRequest HttpEndRequestA -#endif +#endif /* UNICODE */ +#endif /* RC_INVOKED */ #ifdef __cplusplus } #endif |