epoc32/include/stdapis/libxml2/libxml2_xmlversion.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2  * Summary: compile-time version informations
     3  * Description: compile-time version informations for the XML library
     4  *
     5  * Copy: See Copyright for the status of this software.
     6  *
     7  * Author: Daniel Veillard
     8  * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
     9  */
    10 
    11 /** @file
    12 @publishedAll
    13 @released
    14 */
    15 
    16 #ifndef XML_VERSION_H
    17 #define XML_VERSION_H
    18 
    19 /*
    20  * modules.h contains definitions that are auto generated
    21  * from libxml2 property files using Ant script
    22  *
    23  * All other defines in this files are not assumed to be changed anymore
    24  */
    25 
    26 #include <stdapis/libxml2/libxml2_modules.h>
    27 #include <stdapis/libxml2/libxml2_xmlexports.h>
    28 
    29 
    30 #ifdef __cplusplus
    31 extern "C" {
    32 #endif
    33 
    34 /*
    35  * use those to be sure nothing nasty will happen if
    36  * your library and includes mismatch
    37  */
    38 #ifndef LIBXML2_COMPILING_MSCCDEF
    39 XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
    40 #endif /* LIBXML2_COMPILING_MSCCDEF */
    41 
    42 /**
    43  * LIBXML_DOTTED_VERSION:
    44  *
    45  * the version string like "1.2.3"
    46  */
    47 #define LIBXML_DOTTED_VERSION "2.6.10"
    48 
    49 /**
    50  * LIBXML_VERSION:
    51  *
    52  * the version number: 1.2.3 value is 1002003
    53  */
    54 #define LIBXML_VERSION 20610
    55 
    56 /**
    57  * LIBXML_VERSION_STRING:
    58  *
    59  * the version number string, 1.2.3 value is "1002003"
    60  */
    61 #define LIBXML_VERSION_STRING "20610"
    62 
    63 /**
    64  * LIBXML_TEST_VERSION:
    65  *
    66  * Macro to check that the libxml version in use is compatible with
    67  * the version the software has been compiled against
    68  */
    69 #define LIBXML_TEST_VERSION xmlCheckVersion(20610);
    70 
    71 //#ifndef VMS
    72 //#if 0
    73 ///**
    74 // * WITH_TRIO:
    75 // *
    76 // * defined if the trio support need to be configured in
    77 // */
    78 //#define WITH_TRIO
    79 //#else
    80 ///**
    81 // * WITHOUT_TRIO:
    82 // *
    83 // * defined if the trio support should not be configured in
    84 // */
    85 //#define WITHOUT_TRIO
    86 //#endif
    87 //#else /* VMS */
    88 ///**
    89 // * WITH_TRIO:
    90 // *
    91 // * defined if the trio support need to be configured in
    92 // */
    93 //#define WITH_TRIO 1
    94 //#endif /* VMS */
    95 
    96 
    97 
    98 /**
    99  * LIBXML_FTP_ENABLED:
   100  *
   101  * Whether the FTP support is configured in
   102  */
   103 // Excluded from XML Engine
   104 //#define LIBXML_FTP_ENABLED
   105 
   106 
   107 /**
   108  * LIBXML_HTTP_ENABLED:
   109  *
   110  * Whether the HTTP support is configured in
   111  */
   112 // Excluded from XML Engine
   113 //#define LIBXML_HTTP_ENABLED
   114 
   115 
   116 /**
   117  * LIBXML_DOCB_ENABLED:
   118  *
   119  * Whether the SGML Docbook support is configured in
   120  */
   121 // Excluded from XML Engine
   122 //#define LIBXML_DOCB_ENABLED
   123 
   124 /**
   125  * LIBXML_ICONV_ENABLED:
   126  *
   127  * Whether iconv support is available
   128  */
   129 #if 0
   130 #define LIBXML_ICONV_ENABLED
   131 #endif
   132 
   133 /**
   134  * LIBXML_ISO8859X_ENABLED:
   135  *
   136  * Whether ISO-8859-* support is made available in case iconv is not
   137  */
   138 #if 0
   139 #define LIBXML_ISO8859X_ENABLED
   140 #endif
   141 
   142 
   143 /**
   144  * ATTRIBUTE_UNUSED:
   145  *
   146  * Macro used to signal to GCC unused function parameters
   147  */
   148 #ifdef __GNUC__
   149 #ifdef HAVE_ANSIDECL_H
   150 #include <ansidecl.h>
   151 #endif
   152 #ifndef ATTRIBUTE_UNUSED
   153 #define ATTRIBUTE_UNUSED __attribute__((unused))
   154 #endif
   155 #else
   156 #define ATTRIBUTE_UNUSED
   157 #endif
   158 
   159 #ifdef __cplusplus
   160 }
   161 #endif /* __cplusplus */
   162 
   163 
   164 #endif /* XML_VERSION_H */
   165