Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bf210915
Commit
bf210915
authored
Jul 06, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Remove DECLSPEC_HIDDEN usage.
parent
23a4ff05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
45 deletions
+45
-45
internet.h
dlls/wininet/internet.h
+45
-45
No files found.
dlls/wininet/internet.h
View file @
bf210915
...
...
@@ -29,7 +29,7 @@
#include "winineti.h"
extern
HMODULE
WININET_hModule
DECLSPEC_HIDDEN
;
extern
HMODULE
WININET_hModule
;
typedef
struct
{
WCHAR
*
name
;
...
...
@@ -52,15 +52,15 @@ typedef struct {
struct
list
conn_pool
;
}
server_t
;
void
server_addref
(
server_t
*
)
DECLSPEC_HIDDEN
;
void
server_release
(
server_t
*
)
DECLSPEC_HIDDEN
;
void
server_addref
(
server_t
*
);
void
server_release
(
server_t
*
);
typedef
enum
{
COLLECT_TIMEOUT
,
COLLECT_CONNECTIONS
,
COLLECT_CLEANUP
}
collect_type_t
;
BOOL
collect_connections
(
collect_type_t
)
DECLSPEC_HIDDEN
;
BOOL
collect_connections
(
collect_type_t
);
/* used for netconnection.c stuff */
typedef
struct
...
...
@@ -85,8 +85,8 @@ typedef struct
struct
list
pool_entry
;
}
netconn_t
;
BOOL
is_valid_netconn
(
netconn_t
*
)
DECLSPEC_HIDDEN
;
void
close_netconn
(
netconn_t
*
)
DECLSPEC_HIDDEN
;
BOOL
is_valid_netconn
(
netconn_t
*
);
void
close_netconn
(
netconn_t
*
);
static
inline
WCHAR
*
strndupW
(
const
WCHAR
*
str
,
UINT
max_len
)
{
...
...
@@ -360,61 +360,61 @@ struct task_header_t
object_header_t
*
hdr
;
};
void
*
alloc_async_task
(
object_header_t
*
,
async_task_proc_t
,
size_t
)
DECLSPEC_HIDDEN
;
void
*
alloc_async_task
(
object_header_t
*
,
async_task_proc_t
,
size_t
);
void
*
alloc_object
(
object_header_t
*
,
const
object_vtbl_t
*
,
size_t
)
DECLSPEC_HIDDEN
;
object_header_t
*
get_handle_object
(
HINTERNET
hinternet
)
DECLSPEC_HIDDEN
;
object_header_t
*
WININET_AddRef
(
object_header_t
*
info
)
DECLSPEC_HIDDEN
;
BOOL
WININET_Release
(
object_header_t
*
info
)
DECLSPEC_HIDDEN
;
void
*
alloc_object
(
object_header_t
*
,
const
object_vtbl_t
*
,
size_t
);
object_header_t
*
get_handle_object
(
HINTERNET
hinternet
);
object_header_t
*
WININET_AddRef
(
object_header_t
*
info
);
BOOL
WININET_Release
(
object_header_t
*
info
);
DWORD
INET_QueryOption
(
object_header_t
*
,
DWORD
,
void
*
,
DWORD
*
,
BOOL
)
DECLSPEC_HIDDEN
;
DWORD
INET_SetOption
(
object_header_t
*
,
DWORD
,
void
*
,
DWORD
)
DECLSPEC_HIDDEN
;
DWORD
INET_QueryOption
(
object_header_t
*
,
DWORD
,
void
*
,
DWORD
*
,
BOOL
);
DWORD
INET_SetOption
(
object_header_t
*
,
DWORD
,
void
*
,
DWORD
);
time_t
ConvertTimeString
(
LPCWSTR
asctime
)
DECLSPEC_HIDDEN
;
time_t
ConvertTimeString
(
LPCWSTR
asctime
);
HINTERNET
FTP_Connect
(
appinfo_t
*
hIC
,
LPCWSTR
lpszServerName
,
INTERNET_PORT
nServerPort
,
LPCWSTR
lpszUserName
,
LPCWSTR
lpszPassword
,
DWORD
dwFlags
,
DWORD_PTR
dwContext
,
DWORD
dwInternalFlags
)
DECLSPEC_HIDDEN
;
DWORD
dwInternalFlags
);
DWORD
HTTP_Connect
(
appinfo_t
*
,
LPCWSTR
,
INTERNET_PORT
nServerPort
,
LPCWSTR
lpszUserName
,
LPCWSTR
lpszPassword
,
DWORD
dwFlags
,
DWORD_PTR
dwContext
,
DWORD
dwInternalFlags
,
HINTERNET
*
)
DECLSPEC_HIDDEN
;
DWORD
dwInternalFlags
,
HINTERNET
*
);
BOOL
GetAddress
(
const
WCHAR
*
,
INTERNET_PORT
,
SOCKADDR
*
,
int
*
,
char
*
)
DECLSPEC_HIDDEN
;
BOOL
GetAddress
(
const
WCHAR
*
,
INTERNET_PORT
,
SOCKADDR
*
,
int
*
,
char
*
);
DWORD
get_cookie_header
(
const
WCHAR
*
,
const
WCHAR
*
,
WCHAR
**
)
DECLSPEC_HIDDEN
;
DWORD
set_cookie
(
substr_t
,
substr_t
,
substr_t
,
substr_t
,
DWORD
)
DECLSPEC_HIDDEN
;
DWORD
get_cookie_header
(
const
WCHAR
*
,
const
WCHAR
*
,
WCHAR
**
);
DWORD
set_cookie
(
substr_t
,
substr_t
,
substr_t
,
substr_t
,
DWORD
);
void
INTERNET_SetLastError
(
DWORD
dwError
)
DECLSPEC_HIDDEN
;
DWORD
INTERNET_GetLastError
(
void
)
DECLSPEC_HIDDEN
;
DWORD
INTERNET_AsyncCall
(
task_header_t
*
)
DECLSPEC_HIDDEN
;
LPSTR
INTERNET_GetResponseBuffer
(
void
)
DECLSPEC_HIDDEN
;
void
INTERNET_SetLastError
(
DWORD
dwError
);
DWORD
INTERNET_GetLastError
(
void
);
DWORD
INTERNET_AsyncCall
(
task_header_t
*
);
LPSTR
INTERNET_GetResponseBuffer
(
void
);
VOID
INTERNET_SendCallback
(
object_header_t
*
hdr
,
DWORD_PTR
dwContext
,
DWORD
dwInternetStatus
,
LPVOID
lpvStatusInfo
,
DWORD
dwStatusInfoLength
)
DECLSPEC_HIDDEN
;
WCHAR
*
INTERNET_FindProxyForProtocol
(
LPCWSTR
szProxy
,
LPCWSTR
proto
)
DECLSPEC_HIDDEN
;
DWORD
dwStatusInfoLength
);
WCHAR
*
INTERNET_FindProxyForProtocol
(
LPCWSTR
szProxy
,
LPCWSTR
proto
);
DWORD
create_netconn
(
server_t
*
,
DWORD
,
BOOL
,
DWORD
,
netconn_t
**
)
DECLSPEC_HIDDEN
;
void
free_netconn
(
netconn_t
*
)
DECLSPEC_HIDDEN
;
void
NETCON_unload
(
void
)
DECLSPEC_HIDDEN
;
DWORD
NETCON_secure_connect
(
netconn_t
*
,
server_t
*
)
DECLSPEC_HIDDEN
;
DWORD
create_netconn
(
server_t
*
,
DWORD
,
BOOL
,
DWORD
,
netconn_t
**
);
void
free_netconn
(
netconn_t
*
);
void
NETCON_unload
(
void
);
DWORD
NETCON_secure_connect
(
netconn_t
*
,
server_t
*
);
DWORD
NETCON_send
(
netconn_t
*
connection
,
const
void
*
msg
,
size_t
len
,
int
flags
,
int
*
sent
/* out */
)
DECLSPEC_HIDDEN
;
DWORD
NETCON_recv
(
netconn_t
*
,
void
*
,
size_t
,
BOOL
,
int
*
)
DECLSPEC_HIDDEN
;
BOOL
NETCON_is_alive
(
netconn_t
*
)
DECLSPEC_HIDDEN
;
LPCVOID
NETCON_GetCert
(
netconn_t
*
connection
)
DECLSPEC_HIDDEN
;
int
NETCON_GetCipherStrength
(
netconn_t
*
)
DECLSPEC_HIDDEN
;
DWORD
NETCON_set_timeout
(
netconn_t
*
connection
,
BOOL
send
,
DWORD
value
)
DECLSPEC_HIDDEN
;
int
sock_send
(
int
fd
,
const
void
*
msg
,
size_t
len
,
int
flags
)
DECLSPEC_HIDDEN
;
int
sock_recv
(
int
fd
,
void
*
msg
,
size_t
len
,
int
flags
)
DECLSPEC_HIDDEN
;
int
*
sent
/* out */
);
DWORD
NETCON_recv
(
netconn_t
*
,
void
*
,
size_t
,
BOOL
,
int
*
);
BOOL
NETCON_is_alive
(
netconn_t
*
);
LPCVOID
NETCON_GetCert
(
netconn_t
*
connection
);
int
NETCON_GetCipherStrength
(
netconn_t
*
);
DWORD
NETCON_set_timeout
(
netconn_t
*
connection
,
BOOL
send
,
DWORD
value
);
int
sock_send
(
int
fd
,
const
void
*
msg
,
size_t
len
,
int
flags
);
int
sock_recv
(
int
fd
,
void
*
msg
,
size_t
len
,
int
flags
);
server_t
*
get_server
(
substr_t
,
INTERNET_PORT
,
BOOL
,
BOOL
)
DECLSPEC_HIDDEN
;
server_t
*
get_server
(
substr_t
,
INTERNET_PORT
,
BOOL
,
BOOL
);
DWORD
create_req_file
(
const
WCHAR
*
,
req_file_t
**
)
DECLSPEC_HIDDEN
;
void
req_file_release
(
req_file_t
*
)
DECLSPEC_HIDDEN
;
DWORD
create_req_file
(
const
WCHAR
*
,
req_file_t
**
);
void
req_file_release
(
req_file_t
*
);
static
inline
req_file_t
*
req_file_addref
(
req_file_t
*
req_file
)
{
...
...
@@ -422,12 +422,12 @@ static inline req_file_t *req_file_addref(req_file_t *req_file)
return
req_file
;
}
BOOL
init_urlcache
(
void
)
DECLSPEC_HIDDEN
;
void
free_urlcache
(
void
)
DECLSPEC_HIDDEN
;
void
free_cookie
(
void
)
DECLSPEC_HIDDEN
;
void
free_authorization_cache
(
void
)
DECLSPEC_HIDDEN
;
BOOL
init_urlcache
(
void
);
void
free_urlcache
(
void
);
void
free_cookie
(
void
);
void
free_authorization_cache
(
void
);
void
init_winsock
(
void
)
DECLSPEC_HIDDEN
;
void
init_winsock
(
void
);
#define MAX_REPLY_LEN 0x1000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment