2013-08-01 23:07:26 +00:00
|
|
|
headers = \
|
|
|
|
abg-ir.h \
|
|
|
|
abg-corpus.h \
|
Prepare serialization API for multiple backends
* include/abg-reader.h: New file with abigail::xml_reader APIs.
* include/abg-writer.h: New file with abigail::xml_writer APIs.
* include/Makefile.am: Add the new files above to the source
distribution.
* src/abg-reader.cc: Update top-file comments.
(namespace xml_reader): Rename namespace
reader into this.
(read_to_translation_unit, read_corpus_from_archive): New static
functions.
(read_translation_unit_from_file)
(read_translation_unit_from_file, read_corpus_from_file): New
entry points.
(struct array_deleter): New functor.
(translation_unit::read): Remove this.
* src/abg-writer.cc: Update top file comments.
(namespace xml_writer): Rename namespace
writer into this.
(struct archive_write_ctxt): New internal type.
(create_archive_write_context, write_translation_unit_to_archive)
(write_translation_unit, write_corpus_to_archive): New low level
static functions overloads.
(write_corpus_to_archive, write_translation_unit): Public higher
level overloads.
(translation_unit::write): Remove.
(dump): Update for new xml_writer namespace.
* include/abg-ir.h (translation_unit::{read, write}): Remove these
serialization methods.
* include/abg-corpus.h (corpus_sptr): New convenience typedef.
(corpus::{read, write}): Remove these methods.
* src/abg-corpus.cc (corpus::{read, write})
(corpus::impl::{serialized_tus, archive}): Remove these members.
(corpus::impl::{get_archive, close_archive, write_tu_to_archive,
read_to_translation_unit}): Remove these methods.
* tests/test-bidiff.cc (main): Update for usage of the new
xml_reader API.
* tests/test-read-write.cc (main): Likewise. Update for the usage
of the new xml_writer API, too.
* tests/test-walker.cc (main): Update for the usage of the new
xml_reader API.
* tests/test-write-read-archive.cc (main): Likewise. And for the
xml_writer API, too.
* tools/biar.cc (add_tus_to_archive, extract_tus_from_archive): Likewise.
* tools/bidiff.cc (main): Likewise, for xml_reader APIs.
* tools/bilint.cc (main): Likewise, for xml_writer APIs, too.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-12-04 08:44:20 +00:00
|
|
|
abg-reader.h \
|
|
|
|
abg-writer.h \
|
2013-09-28 12:39:57 +00:00
|
|
|
abg-comparison.h \
|
|
|
|
abg-diff-utils.h \
|
2013-08-01 23:07:26 +00:00
|
|
|
abg-libxml-utils.h \
|
2013-08-27 13:18:59 +00:00
|
|
|
abg-libzip-utils.h \
|
2013-08-08 14:56:06 +00:00
|
|
|
abg-fwd.h \
|
2013-08-01 23:07:26 +00:00
|
|
|
abg-hash.h \
|
|
|
|
abg-config.h \
|
2013-08-08 14:56:06 +00:00
|
|
|
abg-traverse.h \
|
2013-08-01 23:07:26 +00:00
|
|
|
abg-version.h \
|
|
|
|
abg-viz-common.h \
|
|
|
|
abg-viz-dot.h \
|
|
|
|
abg-viz-svg.h
|
|
|
|
|
|
|
|
publicheaders_DATA=$(headers)
|
2013-08-14 15:12:54 +00:00
|
|
|
publicheadersdir=$(includedir)/libabigail
|
|
|
|
|
2013-08-22 15:07:07 +00:00
|
|
|
EXTRA_DIST = abg-version.h.in
|