Diff for /XML/valid.h between versions 1.23 and 1.24

version 1.23, 1999/12/20 14:34:36 version 1.24, 2000/01/05 15:58:41
Line 23  extern "C" { Line 23  extern "C" {
 typedef void (*xmlValidityErrorFunc) (void *ctx, const char *msg, ...);  typedef void (*xmlValidityErrorFunc) (void *ctx, const char *msg, ...);
 typedef void (*xmlValidityWarningFunc) (void *ctx, const char *msg, ...);  typedef void (*xmlValidityWarningFunc) (void *ctx, const char *msg, ...);
   
 typedef struct xmlValidCtxt {  typedef struct _xmlValidCtxt xmlValidCtxt;
   typedef xmlValidCtxt *xmlValidCtxtPtr;
   struct _xmlValidCtxt {
     void *userData;                     /* user specific data block */      void *userData;                     /* user specific data block */
     xmlValidityErrorFunc error;         /* the callback in case of errors */      xmlValidityErrorFunc error;         /* the callback in case of errors */
     xmlValidityWarningFunc warning;     /* the callback in case of warning */      xmlValidityWarningFunc warning;     /* the callback in case of warning */
 } xmlValidCtxt, *xmlValidCtxtPtr;  };
   
 /*  /*
  * ALl notation declarations are stored in a table   * ALl notation declarations are stored in a table
Line 36  typedef struct xmlValidCtxt { Line 38  typedef struct xmlValidCtxt {
   
 #define XML_MIN_NOTATION_TABLE  32  #define XML_MIN_NOTATION_TABLE  32
   
 typedef struct xmlNotationTable {  typedef struct _xmlNotationTable xmlNotationTable;
   typedef xmlNotationTable *xmlNotationTablePtr;
   struct _xmlNotationTable {
     int nb_notations;           /* number of notations stored */      int nb_notations;           /* number of notations stored */
     int max_notations;          /* maximum number of notations */      int max_notations;          /* maximum number of notations */
     xmlNotationPtr *table;      /* the table of attributes */      xmlNotationPtr *table;      /* the table of attributes */
 } xmlNotationTable;  };
 typedef xmlNotationTable *xmlNotationTablePtr;  
   
 /*  /*
  * ALl element declarations are stored in a table   * ALl element declarations are stored in a table
Line 50  typedef xmlNotationTable *xmlNotationTab Line 53  typedef xmlNotationTable *xmlNotationTab
   
 #define XML_MIN_ELEMENT_TABLE   32  #define XML_MIN_ELEMENT_TABLE   32
   
 typedef struct xmlElementTable {  typedef struct _xmlElementTable xmlElementTable;
   typedef xmlElementTable *xmlElementTablePtr;
   struct _xmlElementTable {
     int nb_elements;            /* number of elements stored */      int nb_elements;            /* number of elements stored */
     int max_elements;           /* maximum number of elements */      int max_elements;           /* maximum number of elements */
     xmlElementPtr *table;       /* the table of elements */      xmlElementPtr *table;       /* the table of elements */
 } xmlElementTable;  };
 typedef xmlElementTable *xmlElementTablePtr;  
   
 /*  /*
  * ALl attribute declarations are stored in a table   * ALl attribute declarations are stored in a table
Line 64  typedef xmlElementTable *xmlElementTable Line 68  typedef xmlElementTable *xmlElementTable
   
 #define XML_MIN_ATTRIBUTE_TABLE 32  #define XML_MIN_ATTRIBUTE_TABLE 32
   
 typedef struct xmlAttributeTable {  typedef struct _xmlAttributeTable xmlAttributeTable;
   typedef xmlAttributeTable *xmlAttributeTablePtr;
   struct _xmlAttributeTable {
     int nb_attributes;          /* number of attributes stored */      int nb_attributes;          /* number of attributes stored */
     int max_attributes;         /* maximum number of attributes */      int max_attributes;         /* maximum number of attributes */
     xmlAttributePtr *table;     /* the table of attributes */      xmlAttributePtr *table;     /* the table of attributes */
 } xmlAttributeTable;  };
 typedef xmlAttributeTable *xmlAttributeTablePtr;  
   
 /*  /*
  * ALl IDs attributes are stored in a table   * ALl IDs attributes are stored in a table
Line 78  typedef xmlAttributeTable *xmlAttributeT Line 83  typedef xmlAttributeTable *xmlAttributeT
   
 #define XML_MIN_ID_TABLE        32  #define XML_MIN_ID_TABLE        32
   
 typedef struct xmlIDTable {  typedef struct _xmlIDTable xmlIDTable;
   typedef xmlIDTable *xmlIDTablePtr;
   struct _xmlIDTable {
     int nb_ids;                 /* number of ids stored */      int nb_ids;                 /* number of ids stored */
     int max_ids;                /* maximum number of ids */      int max_ids;                /* maximum number of ids */
     xmlIDPtr *table;            /* the table of ids */      xmlIDPtr *table;            /* the table of ids */
 } xmlIDTable;  };
 typedef xmlIDTable *xmlIDTablePtr;  
   
 /*  /*
  * ALl Refs attributes are stored in a table   * ALl Refs attributes are stored in a table
Line 92  typedef xmlIDTable *xmlIDTablePtr; Line 98  typedef xmlIDTable *xmlIDTablePtr;
   
 #define XML_MIN_REF_TABLE       32  #define XML_MIN_REF_TABLE       32
   
 typedef struct xmlRefTable {  typedef struct _xmlRefTable xmlRefTable;
   typedef xmlRefTable *xmlRefTablePtr;
   struct _xmlRefTable {
     int nb_refs;                        /* number of refs stored */      int nb_refs;                        /* number of refs stored */
     int max_refs;               /* maximum number of refs */      int max_refs;               /* maximum number of refs */
     xmlRefPtr *table;           /* the table of refs */      xmlRefPtr *table;           /* the table of refs */
 } xmlRefTable;  };
 typedef xmlRefTable *xmlRefTablePtr;  
   
 /* Notation */  /* Notation */
 xmlNotationPtr      xmlAddNotationDecl  (xmlValidCtxtPtr ctxt,  xmlNotationPtr      xmlAddNotationDecl  (xmlValidCtxtPtr ctxt,
Line 158  xmlAttrPtr xmlGetID (xmlDocPtr doc, Line 165  xmlAttrPtr xmlGetID (xmlDocPtr doc,
 int             xmlIsID         (xmlDocPtr doc,  int             xmlIsID         (xmlDocPtr doc,
                                  xmlNodePtr elem,                                   xmlNodePtr elem,
                                  xmlAttrPtr attr);                                   xmlAttrPtr attr);
   int             xmlRemoveID     (xmlDocPtr doc, xmlAttrPtr attr);
   
 /* IDREFs */  /* IDREFs */
 xmlRefPtr       xmlAddRef       (xmlValidCtxtPtr ctxt,  xmlRefPtr       xmlAddRef       (xmlValidCtxtPtr ctxt,
Line 169  void  xmlFreeRefTable (xmlRefTablePtr ta Line 177  void  xmlFreeRefTable (xmlRefTablePtr ta
 int             xmlIsRef        (xmlDocPtr doc,  int             xmlIsRef        (xmlDocPtr doc,
                                  xmlNodePtr elem,                                   xmlNodePtr elem,
                                  xmlAttrPtr attr);                                   xmlAttrPtr attr);
   int             xmlRemoveRef    (xmlDocPtr doc, xmlAttrPtr attr);
   
 /**  /**
  * The public function calls related to validity checking   * The public function calls related to validity checking

Removed from v.1.23  
changed lines
  Added in v.1.24


Webmaster