diff options
Diffstat (limited to 'ext/ircg/php_ircg_cache.h')
-rw-r--r-- | ext/ircg/php_ircg_cache.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/ircg/php_ircg_cache.h b/ext/ircg/php_ircg_cache.h new file mode 100644 index 000000000..4d082055a --- /dev/null +++ b/ext/ircg/php_ircg_cache.h @@ -0,0 +1,21 @@ +#ifndef PHP_IRCG_CACHE_H +#define PHP_IRCG_CACHE_H + +#include "php.h" +#include "ext/standard/basic_functions.h" +#include "ircg_smart_str_public.h" + +struct cache_entry { + php_uint32 h; + char mask; + smart_str src; + smart_str result; +}; + +extern struct cache_entry *php_ircg_cache_entries; +extern int php_ircg_last_ce_write; + +void ircg_mirc_color_cache(smart_str *src, smart_str *result, + smart_str *channel, int auto_links, int gen_br); + +#endif |