Diff for /embedaddon/expat/lib/expat.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:00:54 version 1.1.1.2, 2014/06/15 16:09:43
Line 742  XML_GetSpecifiedAttributeCount(XML_Parser parser); Line 742  XML_GetSpecifiedAttributeCount(XML_Parser parser);
 XMLPARSEAPI(int)  XMLPARSEAPI(int)
 XML_GetIdAttributeIndex(XML_Parser parser);  XML_GetIdAttributeIndex(XML_Parser parser);
   
   #ifdef XML_ATTR_INFO
   /* Source file byte offsets for the start and end of attribute names and values.
      The value indices are exclusive of surrounding quotes; thus in a UTF-8 source
      file an attribute value of "blah" will yield:
      info->valueEnd - info->valueStart = 4 bytes.
   */
   typedef struct {
     XML_Index  nameStart;  /* Offset to beginning of the attribute name. */
     XML_Index  nameEnd;    /* Offset after the attribute name's last byte. */
     XML_Index  valueStart; /* Offset to beginning of the attribute value. */
     XML_Index  valueEnd;   /* Offset after the attribute value's last byte. */
   } XML_AttrInfo;
   
   /* Returns an array of XML_AttrInfo structures for the attribute/value pairs
      passed in last call to the XML_StartElementHandler that were specified
      in the start-tag rather than defaulted. Each attribute/value pair counts
      as 1; thus the number of entries in the array is
      XML_GetSpecifiedAttributeCount(parser) / 2.
   */
   XMLPARSEAPI(const XML_AttrInfo *)
   XML_GetAttributeInfo(XML_Parser parser);
   #endif
   
 /* Parses some input. Returns XML_STATUS_ERROR if a fatal error is  /* Parses some input. Returns XML_STATUS_ERROR if a fatal error is
    detected.  The last call to XML_Parse must have isFinal true; len     detected.  The last call to XML_Parse must have isFinal true; len
    may be zero for this call (or any other).     may be zero for this call (or any other).
Line 883  XMLPARSEAPI(int) Line 906  XMLPARSEAPI(int)
 XML_SetParamEntityParsing(XML_Parser parser,  XML_SetParamEntityParsing(XML_Parser parser,
                           enum XML_ParamEntityParsing parsing);                            enum XML_ParamEntityParsing parsing);
   
   /* Sets the hash salt to use for internal hash calculations.
      Helps in preventing DoS attacks based on predicting hash
      function behavior. This must be called before parsing is started.
      Returns 1 if successful, 0 when called after parsing has started.
   */
   XMLPARSEAPI(int)
   XML_SetHashSalt(XML_Parser parser,
                   unsigned long hash_salt);
   
 /* If XML_Parse or XML_ParseBuffer have returned XML_STATUS_ERROR, then  /* If XML_Parse or XML_ParseBuffer have returned XML_STATUS_ERROR, then
    XML_GetErrorCode returns information about the error.     XML_GetErrorCode returns information about the error.
 */  */
Line 984  enum XML_FeatureEnum { Line 1016  enum XML_FeatureEnum {
   XML_FEATURE_SIZEOF_XML_CHAR,    XML_FEATURE_SIZEOF_XML_CHAR,
   XML_FEATURE_SIZEOF_XML_LCHAR,    XML_FEATURE_SIZEOF_XML_LCHAR,
   XML_FEATURE_NS,    XML_FEATURE_NS,
  XML_FEATURE_LARGE_SIZE  XML_FEATURE_LARGE_SIZE,
   XML_FEATURE_ATTR_INFO
   /* Additional features must be added to the end of this enum. */    /* Additional features must be added to the end of this enum. */
 };  };
   
Line 1004  XML_GetFeatureList(void); Line 1037  XML_GetFeatureList(void);
    change to major or minor version.     change to major or minor version.
 */  */
 #define XML_MAJOR_VERSION 2  #define XML_MAJOR_VERSION 2
#define XML_MINOR_VERSION 0#define XML_MINOR_VERSION 1
#define XML_MICRO_VERSION 1#define XML_MICRO_VERSION 0
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>