|
Defines |
| #define | UTIL_H_IMPLEMENTATION |
| #define | MAXSTRLEN 256 |
| #define | RINGSIZE 16 |
| #define | O_BINARY 0 |
Functions |
| ichar * | istrdup (const ichar *s) |
| ichar * | istrcpy (ichar *d, const ichar *s) |
| int | istrcaseeq (const ichar *s1, const ichar *s2) |
| int | istrncaseeq (const ichar *s1, const ichar *s2, int len) |
| int | istrprefix (const ichar *pref, const ichar *s) |
| ichar * | istrchr (const ichar *s, int c) |
| ichar * | istrupper (ichar *s) |
| ichar * | istrlower (ichar *s) |
| int | istrhash (const ichar *t, int tsize) |
| int | istrcasehash (const ichar *t, int tsize) |
| int | istrtol (const ichar *s, long *val) |
| icharbuf * | new_icharbuf () |
| void | free_icharbuf (icharbuf *buf) |
| void | __add_icharbuf (icharbuf *buf, int chr) |
| void | del_icharbuf (icharbuf *buf) |
| void | terminate_icharbuf (icharbuf *buf) |
| void | empty_icharbuf (icharbuf *buf) |
| int | ostrlen (const ochar *s) |
| ochar * | ostrdup (const ochar *s) |
| ocharbuf * | new_ocharbuf () |
| void | free_ocharbuf (ocharbuf *buf) |
| void | __add_ocharbuf (ocharbuf *buf, int chr) |
| void | del_ocharbuf (ocharbuf *buf) |
| void | terminate_ocharbuf (ocharbuf *buf) |
| void | empty_ocharbuf (ocharbuf *buf) |
| char * | str2ring (const char *in) |
| char * | ringallo (size_t size) |
| char const * | str_summary (char const *s, int len) |
| ichar * | load_sgml_file_to_charp (const char *file, int normalise_rsre, int *length) |
| void | sgml_nomem () |
| void * | sgml_malloc (size_t size) |
| void * | sgml_realloc (void *old, size_t size) |
| void * | sgml_calloc (size_t n, size_t size) |
| void | sgml_free (void *mem) |
Variables |
| static char * | ring [RINGSIZE] |
| static int | ringp |