diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-10 16:07:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-10 16:07:44 +0100 |
| commit | e30c30ef7bbd8413ac0c8390abe574d5dd1cf5f7 (patch) | |
| tree | f67b4a9364264d433535dbc24a19b6df6ac59049 /src/util.h | |
| parent | 863ff8cced5b7d1d36ad6761fa1f6e2dbeafcad6 (diff) | |
Adapt to new libcxml ARI. Compiles but does not pass tests.1.0-new-cxml
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -25,6 +25,7 @@ */ #include "types.h" +#include <libcxml/cxml.h> #include <boost/shared_ptr.hpp> #include <boost/function.hpp> #include <boost/filesystem.hpp> @@ -33,10 +34,6 @@ #include <string> #include <stdint.h> -namespace xmlpp { - class Element; -} - namespace dcp { class ARGBFrame; @@ -81,9 +78,9 @@ extern bool ids_equal (std::string a, std::string b); extern void init (); -extern void sign (xmlpp::Element* parent, CertificateChain const & certificates, boost::filesystem::path signer_key, Standard standard); -extern void add_signature_value (xmlpp::Element* parent, CertificateChain const & certificates, boost::filesystem::path signer_key, std::string const & ns); -extern void add_signer (xmlpp::Element* parent, CertificateChain const & certificates, std::string const & ns); +extern void sign (cxml::NodePtr parent, CertificateChain const & certificates, boost::filesystem::path signer_key, Standard standard); +extern void add_signature_value (cxml::NodePtr parent, CertificateChain const & certificates, boost::filesystem::path signer_key, std::string const & ns); +extern void add_signer (cxml::NodePtr parent, CertificateChain const & certificates, std::string const & ns); extern int base64_decode (std::string const & in, unsigned char* out, int out_length); extern boost::optional<boost::filesystem::path> relative_to_root (boost::filesystem::path root, boost::filesystem::path file); |
