cosmopolitan/third_party/tidy/entities.h

20 lines
527 B
C
Raw Normal View History

2022-06-09 13:33:31 +00:00
#ifndef __ENTITIES_H__
#define __ENTITIES_H__
/* clang-format off */
/* entities.h -- recognize character entities
(c) 1998-2006 (W3C) MIT, ERCIM, Keio University
See tidy.h for the copyright notice.
*/
#include "third_party/tidy/forward.h"
/* entity starting with "&" returns zero on error */
/* uint EntityCode( ctmbstr name, uint versions ); */
ctmbstr TY_(EntityName)( uint charCode, uint versions );
Bool TY_(EntityInfo)( ctmbstr name, Bool isXml, uint* code, uint* versions );
#endif /* __ENTITIES_H__ */