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
ef3e05ee
Commit
ef3e05ee
authored
Oct 09, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Implement WsReadNode.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
45ded33b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
348 additions
and
4 deletions
+348
-4
reader.c
dlls/webservices/reader.c
+140
-3
reader.c
dlls/webservices/tests/reader.c
+207
-0
webservices.spec
dlls/webservices/webservices.spec
+1
-1
No files found.
dlls/webservices/reader.c
View file @
ef3e05ee
...
@@ -273,6 +273,16 @@ static struct node *alloc_node( WS_XML_NODE_TYPE type )
...
@@ -273,6 +273,16 @@ static struct node *alloc_node( WS_XML_NODE_TYPE type )
return
ret
;
return
ret
;
}
}
static
void
free_attribute
(
WS_XML_ATTRIBUTE
*
attr
)
{
if
(
!
attr
)
return
;
heap_free
(
attr
->
prefix
);
heap_free
(
attr
->
localName
);
heap_free
(
attr
->
ns
);
heap_free
(
attr
->
value
);
heap_free
(
attr
);
}
static
void
free_node
(
struct
node
*
node
)
static
void
free_node
(
struct
node
*
node
)
{
{
if
(
!
node
)
return
;
if
(
!
node
)
return
;
...
@@ -281,6 +291,10 @@ static void free_node( struct node *node )
...
@@ -281,6 +291,10 @@ static void free_node( struct node *node )
case
WS_XML_NODE_TYPE_ELEMENT
:
case
WS_XML_NODE_TYPE_ELEMENT
:
{
{
WS_XML_ELEMENT_NODE
*
elem
=
(
WS_XML_ELEMENT_NODE
*
)
node
;
WS_XML_ELEMENT_NODE
*
elem
=
(
WS_XML_ELEMENT_NODE
*
)
node
;
ULONG
i
;
for
(
i
=
0
;
i
<
elem
->
attributeCount
;
i
++
)
free_attribute
(
elem
->
attributes
[
i
]
);
heap_free
(
elem
->
attributes
);
heap_free
(
elem
->
prefix
);
heap_free
(
elem
->
prefix
);
heap_free
(
elem
->
localName
);
heap_free
(
elem
->
localName
);
heap_free
(
elem
->
ns
);
heap_free
(
elem
->
ns
);
...
@@ -705,12 +719,89 @@ static HRESULT read_xmldecl( struct reader *reader )
...
@@ -705,12 +719,89 @@ static HRESULT read_xmldecl( struct reader *reader )
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
append_attribute
(
WS_XML_ELEMENT_NODE
*
elem
,
WS_XML_ATTRIBUTE
*
attr
)
{
if
(
elem
->
attributeCount
)
{
WS_XML_ATTRIBUTE
**
tmp
;
if
(
!
(
tmp
=
heap_realloc
(
elem
->
attributes
,
(
elem
->
attributeCount
+
1
)
*
sizeof
(
attr
)
)))
return
E_OUTOFMEMORY
;
elem
->
attributes
=
tmp
;
}
else
if
(
!
(
elem
->
attributes
=
heap_alloc
(
sizeof
(
attr
)
)))
return
E_OUTOFMEMORY
;
elem
->
attributes
[
elem
->
attributeCount
++
]
=
attr
;
return
S_OK
;
}
static
HRESULT
read_attribute
(
struct
reader
*
reader
,
WS_XML_ATTRIBUTE
**
ret
)
{
WS_XML_ATTRIBUTE
*
attr
;
WS_XML_UTF8_TEXT
*
text
;
unsigned
int
len
=
0
,
ch
,
skip
;
const
char
*
start
;
HRESULT
hr
=
WS_E_INVALID_FORMAT
;
if
(
!
(
attr
=
heap_alloc_zero
(
sizeof
(
*
attr
)
)))
return
E_OUTOFMEMORY
;
start
=
read_current_ptr
(
reader
);
for
(;;)
{
if
(
!
(
ch
=
read_utf8_char
(
reader
,
&
skip
)))
goto
error
;
if
(
!
read_isnamechar
(
ch
))
break
;
read_skip
(
reader
,
skip
);
len
+=
skip
;
}
if
(
!
len
)
goto
error
;
hr
=
E_OUTOFMEMORY
;
if
(
!
(
attr
->
localName
=
alloc_xml_string
(
start
,
len
)))
goto
error
;
if
(
!
(
attr
->
prefix
=
alloc_xml_string
(
NULL
,
0
)))
goto
error
;
attr
->
prefix
->
bytes
=
NULL
;
if
(
!
(
attr
->
ns
=
alloc_xml_string
(
NULL
,
0
)))
goto
error
;
attr
->
ns
->
bytes
=
NULL
;
hr
=
WS_E_INVALID_FORMAT
;
read_skip_whitespace
(
reader
);
if
(
read_cmp
(
reader
,
"="
,
1
))
goto
error
;
read_skip
(
reader
,
1
);
read_skip_whitespace
(
reader
);
if
(
read_cmp
(
reader
,
"
\"
"
,
1
))
goto
error
;
read_skip
(
reader
,
1
);
len
=
0
;
start
=
read_current_ptr
(
reader
);
for
(;;)
{
if
(
!
(
ch
=
read_utf8_char
(
reader
,
&
skip
)))
goto
error
;
if
(
ch
==
'"'
)
break
;
read_skip
(
reader
,
skip
);
len
+=
skip
;
}
read_skip
(
reader
,
1
);
if
(
!
(
text
=
alloc_utf8_text
(
start
,
len
)))
{
free_attribute
(
attr
);
return
E_OUTOFMEMORY
;
}
attr
->
value
=
(
WS_XML_TEXT
*
)
text
;
*
ret
=
attr
;
return
S_OK
;
error:
free_attribute
(
attr
);
return
hr
;
}
static
HRESULT
read_element
(
struct
reader
*
reader
)
static
HRESULT
read_element
(
struct
reader
*
reader
)
{
{
unsigned
int
len
=
0
,
ch
,
skip
;
unsigned
int
len
=
0
,
ch
,
skip
;
const
char
*
start
;
const
char
*
start
;
struct
node
*
node
;
struct
node
*
node
;
WS_XML_ELEMENT_NODE
*
elem
;
WS_XML_ELEMENT_NODE
*
elem
;
WS_XML_ATTRIBUTE
*
attr
;
HRESULT
hr
=
WS_E_INVALID_FORMAT
;
HRESULT
hr
=
WS_E_INVALID_FORMAT
;
if
(
read_end_of_data
(
reader
))
if
(
read_end_of_data
(
reader
))
...
@@ -742,10 +833,19 @@ static HRESULT read_element( struct reader *reader )
...
@@ -742,10 +833,19 @@ static HRESULT read_element( struct reader *reader )
elem
->
prefix
->
bytes
=
NULL
;
elem
->
prefix
->
bytes
=
NULL
;
if
(
!
(
elem
->
ns
=
alloc_xml_string
(
NULL
,
0
)))
goto
error
;
if
(
!
(
elem
->
ns
=
alloc_xml_string
(
NULL
,
0
)))
goto
error
;
/* FIXME: parse attributes */
for
(;;)
while
(
reader
->
read_pos
<
reader
->
read_size
&&
reader
->
read_bufptr
[
reader
->
read_pos
]
!=
'>'
)
{
reader
->
read_pos
++
;
read_skip_whitespace
(
reader
);
if
(
!
read_cmp
(
reader
,
">"
,
1
))
break
;
if
((
hr
=
read_attribute
(
reader
,
&
attr
))
!=
S_OK
)
goto
error
;
if
((
hr
=
append_attribute
(
elem
,
attr
))
!=
S_OK
)
{
free_attribute
(
attr
);
goto
error
;
}
}
read_skip_whitespace
(
reader
);
if
(
read_cmp
(
reader
,
">"
,
1
))
if
(
read_cmp
(
reader
,
">"
,
1
))
{
{
hr
=
WS_E_INVALID_FORMAT
;
hr
=
WS_E_INVALID_FORMAT
;
...
@@ -862,6 +962,29 @@ static HRESULT read_endelement( struct reader *reader )
...
@@ -862,6 +962,29 @@ static HRESULT read_endelement( struct reader *reader )
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
read_node
(
struct
reader
*
reader
)
{
HRESULT
hr
;
for
(;;)
{
if
(
read_end_of_data
(
reader
))
{
reader
->
current
=
LIST_ENTRY
(
list_tail
(
&
reader
->
nodes
),
struct
node
,
entry
);
reader
->
state
=
READER_STATE_EOF
;
return
S_OK
;
}
if
(
!
read_cmp
(
reader
,
"<?"
,
2
))
{
hr
=
read_xmldecl
(
reader
);
if
(
FAILED
(
hr
))
return
hr
;
}
else
if
(
!
read_cmp
(
reader
,
"</"
,
2
))
return
read_endelement
(
reader
);
else
if
(
!
read_cmp
(
reader
,
"<"
,
1
))
return
read_startelement
(
reader
);
else
return
read_text
(
reader
);
}
}
/**************************************************************************
/**************************************************************************
* WsReadEndElement [webservices.@]
* WsReadEndElement [webservices.@]
*/
*/
...
@@ -877,6 +1000,20 @@ HRESULT WINAPI WsReadEndElement( WS_XML_READER *handle, WS_ERROR *error )
...
@@ -877,6 +1000,20 @@ HRESULT WINAPI WsReadEndElement( WS_XML_READER *handle, WS_ERROR *error )
}
}
/**************************************************************************
/**************************************************************************
* WsReadNode [webservices.@]
*/
HRESULT
WINAPI
WsReadNode
(
WS_XML_READER
*
handle
,
WS_ERROR
*
error
)
{
struct
reader
*
reader
=
(
struct
reader
*
)
handle
;
TRACE
(
"%p %p
\n
"
,
handle
,
error
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
if
(
!
reader
)
return
E_INVALIDARG
;
return
read_node
(
reader
);
}
/**************************************************************************
* WsReadStartElement [webservices.@]
* WsReadStartElement [webservices.@]
*/
*/
HRESULT
WINAPI
WsReadStartElement
(
WS_XML_READER
*
handle
,
WS_ERROR
*
error
)
HRESULT
WINAPI
WsReadStartElement
(
WS_XML_READER
*
handle
,
WS_ERROR
*
error
)
...
...
dlls/webservices/tests/reader.c
View file @
ef3e05ee
...
@@ -45,6 +45,13 @@ static const char data4[] =
...
@@ -45,6 +45,13 @@ static const char data4[] =
"</o:services>
\r\n
"
"</o:services>
\r\n
"
"</o:OfficeConfig>
\r\n
"
;
"</o:OfficeConfig>
\r\n
"
;
static
const
char
data5
[]
=
"</text>"
;
static
const
char
data6
[]
=
"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?>"
"<text attr=
\"
value
\"
>test</text>"
;
static
const
char
data8
[]
=
static
const
char
data8
[]
=
"<node1><node2>test</node2></node1>"
;
"<node1><node2>test</node2></node1>"
;
...
@@ -694,6 +701,204 @@ static void test_WsReadStartElement(void)
...
@@ -694,6 +701,204 @@ static void test_WsReadStartElement(void)
WsFreeReader
(
reader
);
WsFreeReader
(
reader
);
}
}
static
void
test_WsReadEndElement
(
void
)
{
HRESULT
hr
;
WS_XML_READER
*
reader
;
const
WS_XML_NODE
*
node
;
hr
=
WsCreateReader
(
NULL
,
0
,
&
reader
,
NULL
)
;
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
set_input
(
reader
,
data2
,
sizeof
(
data2
)
-
1
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsFillReader
(
reader
,
sizeof
(
data2
)
-
1
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsReadEndElement
(
reader
,
NULL
);
ok
(
hr
==
WS_E_INVALID_FORMAT
,
"got %08x
\n
"
,
hr
);
hr
=
set_input
(
reader
,
data2
,
sizeof
(
data2
)
-
1
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsFillReader
(
reader
,
sizeof
(
data2
)
-
1
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsReadNode
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
if
(
node
)
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_ELEMENT
,
"got %u
\n
"
,
node
->
nodeType
);
hr
=
WsReadNode
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
if
(
node
)
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_TEXT
,
"got %u
\n
"
,
node
->
nodeType
);
hr
=
WsReadNode
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
if
(
node
)
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_END_ELEMENT
,
"got %u
\n
"
,
node
->
nodeType
);
hr
=
WsReadNode
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
if
(
node
)
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_EOF
,
"got %u
\n
"
,
node
->
nodeType
);
hr
=
set_input
(
reader
,
data5
,
sizeof
(
data5
)
-
1
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsFillReader
(
reader
,
sizeof
(
data5
)
-
1
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsReadEndElement
(
reader
,
NULL
);
ok
(
hr
==
WS_E_INVALID_FORMAT
,
"got %08x
\n
"
,
hr
);
WsFreeReader
(
reader
);
}
static
void
test_WsReadNode
(
void
)
{
static
const
char
str1
[]
=
"<a>"
;
static
const
char
str2
[]
=
"< a>"
;
static
const
char
str3
[]
=
"<a >"
;
static
const
char
str4
[]
=
"<<a>>"
;
static
const
char
str5
[]
=
"<>"
;
static
const
char
str6
[]
=
"</a>"
;
static
const
char
str7
[]
=
" <a>"
;
static
const
char
str8
[]
=
"<?xml>"
;
static
const
char
str9
[]
=
"<?xml?>"
;
static
const
char
str10
[]
=
"<?xml ?>"
;
static
const
char
str11
[]
=
"<?xml version=
\"
1.0
\"
?>"
;
static
const
char
str12
[]
=
"<text>test</text>"
;
static
const
char
str13
[]
=
"<?xml version=
\"
1.0
\"
?><text>test</text>"
;
static
const
char
str14
[]
=
""
;
HRESULT
hr
;
WS_XML_READER
*
reader
;
const
WS_XML_NODE
*
node
;
unsigned
int
i
;
int
found
;
static
const
struct
{
const
char
*
text
;
HRESULT
hr
;
WS_XML_NODE_TYPE
type
;
int
todo
;
}
tests
[]
=
{
{
str1
,
S_OK
,
WS_XML_NODE_TYPE_ELEMENT
},
{
str2
,
WS_E_INVALID_FORMAT
,
0
},
{
str3
,
S_OK
,
WS_XML_NODE_TYPE_ELEMENT
},
{
str4
,
WS_E_INVALID_FORMAT
,
0
},
{
str5
,
WS_E_INVALID_FORMAT
,
0
},
{
str6
,
WS_E_INVALID_FORMAT
,
0
},
{
str7
,
S_OK
,
WS_XML_NODE_TYPE_TEXT
},
{
str8
,
WS_E_INVALID_FORMAT
,
0
},
{
str9
,
WS_E_INVALID_FORMAT
,
0
},
{
str10
,
WS_E_INVALID_FORMAT
,
0
,
1
},
{
str11
,
S_OK
,
WS_XML_NODE_TYPE_EOF
},
{
str12
,
S_OK
,
WS_XML_NODE_TYPE_ELEMENT
},
{
str13
,
S_OK
,
WS_XML_NODE_TYPE_ELEMENT
},
{
str14
,
WS_E_INVALID_FORMAT
,
0
,
1
},
};
hr
=
WsCreateReader
(
NULL
,
0
,
&
reader
,
NULL
)
;
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
for
(
i
=
0
;
i
<
sizeof
(
tests
)
/
sizeof
(
tests
[
0
]);
i
++
)
{
hr
=
set_input
(
reader
,
tests
[
i
].
text
,
strlen
(
tests
[
i
].
text
)
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsFillReader
(
reader
,
strlen
(
tests
[
i
].
text
),
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"%u: got %08x
\n
"
,
i
,
hr
);
hr
=
WsReadNode
(
reader
,
NULL
);
if
(
tests
[
i
].
todo
)
todo_wine
ok
(
hr
==
tests
[
i
].
hr
,
"%u: got %08x
\n
"
,
i
,
hr
);
else
ok
(
hr
==
tests
[
i
].
hr
,
"%u: got %08x
\n
"
,
i
,
hr
);
if
(
hr
==
S_OK
)
{
node
=
NULL
;
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"%u: got %08x
\n
"
,
i
,
hr
);
ok
(
node
!=
NULL
,
"%u: node not set
\n
"
,
i
);
if
(
node
)
{
if
(
tests
[
i
].
todo
)
todo_wine
ok
(
node
->
nodeType
==
tests
[
i
].
type
,
"%u: got %u
\n
"
,
i
,
node
->
nodeType
);
else
ok
(
node
->
nodeType
==
tests
[
i
].
type
,
"%u: got %u
\n
"
,
i
,
node
->
nodeType
);
}
}
}
hr
=
set_input
(
reader
,
data6
,
sizeof
(
data6
)
-
1
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsFillReader
(
reader
,
sizeof
(
data6
)
-
1
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
found
=
-
1
;
hr
=
WsReadToStartElement
(
reader
,
NULL
,
NULL
,
&
found
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
found
==
TRUE
,
"got %d
\n
"
,
found
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
if
(
node
)
{
WS_XML_ELEMENT_NODE
*
elem
=
(
WS_XML_ELEMENT_NODE
*
)
node
;
WS_XML_ATTRIBUTE
*
attr
;
WS_XML_UTF8_TEXT
*
text
;
ok
(
elem
->
node
.
nodeType
==
WS_XML_NODE_TYPE_ELEMENT
,
"got %u
\n
"
,
elem
->
node
.
nodeType
);
ok
(
elem
->
prefix
!=
NULL
,
"prefix not set
\n
"
);
ok
(
!
elem
->
prefix
->
length
,
"got %u
\n
"
,
elem
->
prefix
->
length
);
ok
(
elem
->
prefix
->
bytes
==
NULL
,
"bytes set
\n
"
);
ok
(
elem
->
localName
!=
NULL
,
"localName not set
\n
"
);
ok
(
elem
->
localName
->
length
==
4
,
"got %u
\n
"
,
elem
->
localName
->
length
);
ok
(
!
memcmp
(
elem
->
localName
->
bytes
,
"text"
,
4
),
"wrong data
\n
"
);
ok
(
elem
->
ns
!=
NULL
,
"ns not set
\n
"
);
ok
(
!
elem
->
ns
->
length
,
"got %u
\n
"
,
elem
->
ns
->
length
);
ok
(
elem
->
ns
->
bytes
!=
NULL
,
"bytes not set
\n
"
);
ok
(
elem
->
attributeCount
==
1
,
"got %u
\n
"
,
elem
->
attributeCount
);
ok
(
elem
->
attributes
!=
NULL
,
"attributes not set
\n
"
);
ok
(
!
elem
->
isEmpty
,
"isEmpty not zero
\n
"
);
attr
=
elem
->
attributes
[
0
];
ok
(
!
attr
->
singleQuote
,
"got %u
\n
"
,
attr
->
singleQuote
);
ok
(
!
attr
->
isXmlNs
,
"got %u
\n
"
,
attr
->
isXmlNs
);
ok
(
attr
->
prefix
!=
NULL
,
"prefix not set
\n
"
);
ok
(
!
attr
->
prefix
->
length
,
"got %u
\n
"
,
attr
->
prefix
->
length
);
ok
(
attr
->
prefix
->
bytes
==
NULL
,
"bytes set
\n
"
);
ok
(
attr
->
localName
!=
NULL
,
"localName not set
\n
"
);
ok
(
attr
->
localName
->
length
==
4
,
"got %u
\n
"
,
attr
->
localName
->
length
);
ok
(
!
memcmp
(
attr
->
localName
->
bytes
,
"attr"
,
4
),
"wrong data
\n
"
);
ok
(
attr
->
ns
!=
NULL
,
"ns not set
\n
"
);
ok
(
!
attr
->
ns
->
length
,
"got %u
\n
"
,
attr
->
ns
->
length
);
ok
(
attr
->
ns
->
bytes
==
NULL
,
"bytes set
\n
"
);
ok
(
attr
->
value
!=
NULL
,
"value not set
\n
"
);
text
=
(
WS_XML_UTF8_TEXT
*
)
attr
->
value
;
ok
(
attr
->
value
->
textType
==
WS_XML_TEXT_TYPE_UTF8
,
"got %u
\n
"
,
attr
->
value
->
textType
);
ok
(
text
->
value
.
length
==
5
,
"got %u
\n
"
,
text
->
value
.
length
);
ok
(
!
memcmp
(
text
->
value
.
bytes
,
"value"
,
5
),
"wrong data
\n
"
);
}
WsFreeReader
(
reader
);
}
START_TEST
(
reader
)
START_TEST
(
reader
)
{
{
test_WsCreateError
();
test_WsCreateError
();
...
@@ -703,4 +908,6 @@ START_TEST(reader)
...
@@ -703,4 +908,6 @@ START_TEST(reader)
test_WsFillReader
();
test_WsFillReader
();
test_WsReadToStartElement
();
test_WsReadToStartElement
();
test_WsReadStartElement
();
test_WsReadStartElement
();
test_WsReadEndElement
();
test_WsReadNode
();
}
}
dlls/webservices/webservices.spec
View file @
ef3e05ee
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
@ stub WsReadMessageEnd
@ stub WsReadMessageEnd
@ stub WsReadMessageStart
@ stub WsReadMessageStart
@ stub WsReadMetadata
@ stub WsReadMetadata
@ st
ub WsReadNode
@ st
dcall WsReadNode(ptr ptr)
@ stub WsReadQualifiedName
@ stub WsReadQualifiedName
@ stub WsReadStartAttribute
@ stub WsReadStartAttribute
@ stdcall WsReadStartElement(ptr ptr)
@ stdcall WsReadStartElement(ptr ptr)
...
...
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