aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/cxx/parser/expat/xml-error.hxx
blob: 9c0c1a62c1eb91c4bdc1e55b02511169f8ddf925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// file      : xsde/cxx/parser/expat/xml-error.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSDE_CXX_PARSER_EXPAT_XML_ERROR_HXX
#define XSDE_CXX_PARSER_EXPAT_XML_ERROR_HXX

#include <xsde/c/expat/expat.h>

enum XML_Error_Ex
{
  XML_ERROR_UNREPRESENTABLE = 0x10000
};

namespace xsde
{
  namespace cxx
  {
    namespace parser
    {
      namespace expat
      {
        // The xml_error type can hold values from XML_Error and
        // XML_Error_Ex enums.
        //
        typedef unsigned int xml_error;

        const char*
        xml_error_text (xml_error);
      }
    }
  }
}

#endif  // XSDE_CXX_PARSER_EXPAT_XML_ERROR_HXX