Changeset 164 for trunk/src/xmldecl.h


Ignore:
Timestamp:
Jun 22, 2008, 4:44:24 PM (11 years ago)
Author:
cameron
Message:

Factoring Read XML/Text declarations; generic version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/xmldecl.h

    r163 r164  
    9090        ~XML_Decl_Parser ();
    9191       
    92         void ReadXMLInfo(Entity_Info * e);
    93         void ReadTextDeclaration(Entity_Info * e);
     92        void ReadXMLInfo(Entity_Info & e);
     93        void ReadTextDeclaration(Entity_Info & e);
     94        // Generic version if type of external entity unknown.
     95        void ReadXMLorTextDecl(Entity_Info & e);
    9496       
    9597
     
    106108        unsigned char * cur() const;
    107109       
    108         int EncodingAction(Entity_Info * e, int start_pos, int end_pos);
     110        int EncodingAction(Entity_Info & e, int start_pos, int end_pos);
    109111private:
    110112        /* Bytespace parsing routines for internal use in ReadXMLInfo and
     
    112114        void Scan_WS();
    113115        void ScanToQuote();
     116        void ParseVersion(Entity_Info & e);
     117        void ParseEncoding(Entity_Info & e);
     118        void ParseStandalone(Entity_Info & e);
    114119
    115120};
Note: See TracChangeset for help on using the changeset viewer.