#include <uchar.h>
Go to the source code of this file.
Functions | |
char32_t | ellipsis‿xml‿entity (char const s[static 1]) |
Detect a named xml entity in s and return the Unicode code point. | |
void | ellipsis‿xml‿name (size_t len, char s[static len], char32_t c32) |
Return the name of a named xml entity in s that corresponds to code point c32 . | |
char32_t ellipsis‿xml‿entity | ( | char const | s[static 1] | ) |
Detect a named xml entity in s
and return the Unicode code point.
References bsearch_name, comp_name(), ent_length, entities, and entities_by_name.
Referenced by ellipsis‿entity().
void ellipsis‿xml‿name | ( | size_t | len, |
char | s[static len], | ||
char32_t | c32 | ||
) |
Return the name of a named xml entity in s
that corresponds to code point c32
.
References __FILE__, bsearch_ent, comp_number(), ellipsis‿xml‿_Once‿init(), ent_length, entities_by_name, entities_by_number, GNU_ATTR_USED, and strings.
Referenced by ellipsis‿str32‿fputs_entities().