/* * exml.h -- Embedded Xml Parser header * * Copyright (c) Mbedthis Software, LLC, 2003-2003. All Rights Reserved. -- MOB */ #ifndef _h_EXML #define _h_EXML 1 /******************************** Description *********************************/ #include "mpr.h" /********************************** Defines ***********************************/ #if BLD_FEATURE_SQUEEZE #define EXML_BUFSIZE 512 /* Read buffer size */ #else #define EXML_BUFSIZE 1024 /* Read buffer size */ #endif /* * XML parser states. The states that are passed to the user handler have * "U" appended to the comment. The error states (ERR and EOF) must be * negative. */ #define EXML_ERR -1 /* Error */ #define EXML_EOF -2 /* End of input */ #define EXML_BEGIN 1 /* Before next tag */ #define EXML_AFTER_LS 2 /* Seen "<" */ #define EXML_COMMENT 3 /* Seen "