mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
19 lines
527 B
C
19 lines
527 B
C
#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__ */
|