diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-09-20 15:52:18 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-09-20 15:52:18 +0300 |
commit | 7f3dd0599ac3fb3a69c512b0ecfd043c67ca94ee (patch) | |
tree | 422bda7fdce2709ea0b4c67c42e6f9a7cecc4918 /tests/testsuite.at | |
parent | 205d53a8e930d3fd126075ab083d316cc344ebaf (diff) | |
download | eclat-7f3dd0599ac3fb3a69c512b0ecfd043c67ca94ee.tar.gz eclat-7f3dd0599ac3fb3a69c512b0ecfd043c67ca94ee.tar.bz2 |
Parse returned XML into a grecs tree structure.
* lib/xmltree.c: New file.
* lib/Makefile.am: Add new file.
* lib/libeclat.h: Include expat.h and grecs.h
(eclat_partial_tree_t): New typedef.
(eclat_partial_tree_create,eclat_partial_tree_destroy)
(eclat_partial_tree_finish,eclat_partial_tree_data_handler)
(eclat_partial_tree_start_handler)
(eclat_partial_tree_end_handler): New protos.
* src/eclat.c (main): Initialize XML parser with eclat_partial_tree
handlers and bind it to the CURL output handler.
* tests/.gitignore: Add txml
* tests/Makefile.am (TESTSUITE_AT): Add xml01.at
Build txml
* tests/testsuite.at: Include xml01.at
* tests/txml.c: New file.
* tests/xml01.at: New file.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index c368490..f40b8a7 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at | |||
@@ -24,7 +24,9 @@ m4_include(hmac01.at) | |||
24 | m4_include(hmac02.at) | 24 | m4_include(hmac02.at) |
25 | m4_include(hmac03.at) | 25 | m4_include(hmac03.at) |
26 | 26 | ||
27 | AT_BANNER([URL encode]) | 27 | AT_BANNER([URL Encode]) |
28 | m4_include([urlenc01.at]) | 28 | m4_include([urlenc01.at]) |
29 | 29 | ||
30 | AT_BANNER([XML Processing]) | ||
31 | m4_include([xml01.at]) | ||
30 | # End of testsuite.at | 32 | # End of testsuite.at |