#ifndef WALTERS_H #define WALTERS_H 1 #include struct Walters_Buffer; #ifdef __GNUC__ #pragma GCC visibility push(hidden) #endif XNI_EXPORT int walters_sizeof_buffer(void); XNI_EXPORT void walters_buffer_finalize(RubyEnv *, struct Walters_Buffer *); XNI_EXPORT void walters_buffer_initialize(RubyEnv *, struct Walters_Buffer *, unsigned int); XNI_EXPORT const char * walters_buffer_cstring(RubyEnv *, struct Walters_Buffer *); XNI_EXPORT bool walters_buffer_escape_html(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_escape_html0(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int, bool); XNI_EXPORT bool walters_buffer_unescape_html(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_escape_xml(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_escape_uri(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_escape_url(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_escape_href(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_unescape_uri(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_unescape_url(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_escape_js(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT bool walters_buffer_unescape_js(RubyEnv *, struct Walters_Buffer *, const char *, unsigned int); XNI_EXPORT void walters_free_cstring(RubyEnv *, void *); XNI_EXPORT const char * walters_read_cstring(RubyEnv *, void *); XNI_EXPORT void * walters__escape_html(RubyEnv *, const char *, unsigned int, bool); XNI_EXPORT void * walters__unescape_html(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__escape_xml(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__escape_uri(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__escape_url(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__escape_href(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__unescape_uri(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__unescape_url(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__escape_js(RubyEnv *, const char *, unsigned int); XNI_EXPORT void * walters__unescape_js(RubyEnv *, const char *, unsigned int); #ifdef __GNUC__ #pragma GCC visibility pop #endif XNI_EXPORT int xni_walters_load(RubyVM *,void **); XNI_EXPORT void xni_walters_unload(RubyVM *, void *); #endif /* WALTERS_H */