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
c80c4512
Commit
c80c4512
authored
Oct 03, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Get rid of insert_string_cb.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3076f5e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
string.c
dlls/webservices/string.c
+0
-12
webservices_private.h
dlls/webservices/webservices_private.h
+0
-1
No files found.
dlls/webservices/string.c
View file @
c80c4512
...
...
@@ -152,18 +152,6 @@ HRESULT insert_string( struct dictionary *dict, unsigned char *data, ULONG len,
return
S_OK
;
}
HRESULT
CALLBACK
insert_string_cb
(
void
*
state
,
const
WS_XML_STRING
*
str
,
BOOL
*
found
,
ULONG
*
id
,
WS_ERROR
*
error
)
{
struct
dictionary
*
dict
=
state
;
int
index
=
find_string
(
dict
,
str
->
bytes
,
str
->
length
,
id
);
HRESULT
hr
=
S_OK
;
assert
(
!
dict
->
dict
.
isConst
);
if
(
index
==
-
1
||
(
hr
=
insert_string
(
dict
,
str
->
bytes
,
str
->
length
,
index
,
id
))
==
S_OK
)
*
found
=
TRUE
;
else
*
found
=
FALSE
;
return
hr
;
}
HRESULT
add_xml_string
(
WS_XML_STRING
*
str
)
{
HRESULT
hr
=
S_OK
;
...
...
dlls/webservices/webservices_private.h
View file @
c80c4512
...
...
@@ -49,7 +49,6 @@ const struct dictionary dict_builtin_static DECLSPEC_HIDDEN;
int
find_string
(
const
struct
dictionary
*
,
const
unsigned
char
*
,
ULONG
,
ULONG
*
)
DECLSPEC_HIDDEN
;
HRESULT
insert_string
(
struct
dictionary
*
,
unsigned
char
*
,
ULONG
,
int
,
ULONG
*
)
DECLSPEC_HIDDEN
;
HRESULT
CALLBACK
insert_string_cb
(
void
*
,
const
WS_XML_STRING
*
,
BOOL
*
,
ULONG
*
,
WS_ERROR
*
)
DECLSPEC_HIDDEN
;
void
clear_dict
(
struct
dictionary
*
)
DECLSPEC_HIDDEN
;
HRESULT
writer_enable_lookup
(
WS_XML_WRITER
*
)
DECLSPEC_HIDDEN
;
...
...
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