XLVI. IRC Gateway Functions
Introduction
With IRCG you can rapidly stream XML data to thousands of concurrently connected users. This can be used to build powerful, extensible interactive platforms such as online games and webchats. IRCG also features support for a non-streaming mode where a helper application reformats incoming data and supplies static file snippets in special formats such as cHTML (i-mode) or WML (WAP). These static files are then delivered by the high-performance web server.
Up to v3, IRCG runs under these platforms:
AIX
FreeBSD
HP-UX
Irix
Linux
Solaris
Tru64
Installation
Detailed installation instructions can be found here. We urge you to use the provided installation script.
It is not recommended, but you can try enable IRCG support yourself. Provide the path to the ircg-config script, --with-ircg-config=path/to/irc-config and in addition add --with-ircg to your configure line.
- Table of Contents
- ircg_channel_mode -- Set channel mode flags for user
- ircg_disconnect -- Close connection to server
- ircg_fetch_error_msg -- Returns the error from previous IRCG operation
- ircg_get_username -- Get username for connection
- ircg_html_encode -- Encodes HTML preserving output
- ircg_ignore_add -- Add a user to your ignore list on a server
- ircg_ignore_del -- Remove a user from your ignore list on a server
- ircg_is_conn_alive -- Check connection status
- ircg_join -- Join a channel on a connected server
- ircg_kick -- Kick a user out of a channel on server
- ircg_lookup_format_messages -- Check for the existence of a format message set
- ircg_msg -- Send message to channel or user on server
- ircg_nick -- Change nickname on server
- ircg_nickname_escape -- Encode special characters in nickname to be IRC-compliant
- ircg_nickname_unescape -- Decodes encoded nickname
- ircg_notice -- Send a notice to a user on server
- ircg_part -- Leave a channel on server
- ircg_pconnect -- Connect to an IRC server
- ircg_register_format_messages -- Register a format message set
- ircg_set_current -- Set current connection for output
- ircg_set_file -- Set logfile for connection
- ircg_set_on_die -- Set action to be executed when connection dies
- ircg_topic -- Set topic for channel on server
- ircg_whois -- Query server for user information