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
bee390e1
Commit
bee390e1
authored
Sep 23, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Remove explicit zero-intialization of static data.
parent
50c4723a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
50 deletions
+50
-50
notification.c
dlls/winhttp/tests/notification.c
+50
-50
No files found.
dlls/winhttp/tests/notification.c
View file @
bee390e1
...
...
@@ -122,26 +122,26 @@ static void CALLBACK check_notification( HINTERNET handle, DWORD_PTR context, DW
static
const
struct
notification
cache_test
[]
=
{
{
winhttp_connect
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
},
{
winhttp_connect
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION
,
0
,
1
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED
,
0
,
1
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING
,
0
,
1
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION
,
0
,
1
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED
,
0
,
1
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING
,
0
,
1
},
...
...
@@ -298,25 +298,25 @@ static void test_connection_cache( void )
static
const
struct
notification
redirect_test
[]
=
{
{
winhttp_connect
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REDIRECT
,
0
},
{
winhttp_connect
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REDIRECT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION
,
0
,
1
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED
,
0
,
1
},
{
winhttp_close_handle
,
WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING
,
0
,
1
},
...
...
@@ -375,28 +375,28 @@ static void test_redirect( void )
static
const
struct
notification
async_test
[]
=
{
{
winhttp_connect
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
,
0
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REDIRECT
,
0
},
{
winhttp_connect
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_open_request
,
WINHTTP_CALLBACK_STATUS_HANDLE_CREATED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
},
{
winhttp_send_request
,
WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REDIRECT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_NAME_RESOLVED
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER
,
0
,
0
,
1
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE
,
0
},
{
winhttp_query_data
,
WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE
,
0
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_SENDING_REQUEST
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_REQUEST_SENT
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
},
{
winhttp_receive_response
,
WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE
},
{
winhttp_query_data
,
WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE
},
{
winhttp_read_data
,
WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE
,
0
,
1
},
{
winhttp_read_data
,
WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED
,
0
,
1
},
{
winhttp_read_data
,
WINHTTP_CALLBACK_STATUS_READ_COMPLETE
,
0
,
1
},
...
...
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