|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
| class | Connection |
| class | DCCConnection |
| class | DCCConnectionError |
| class | Event |
| class | IRC |
| class | IRCError |
| class | ServerConnection |
| class | ServerConnectionError |
| class | ServerNotConnectedError |
| class | SimpleIRCClient |
Functions | |
| def | mask_matches (nick, mask) |
| def | irc_lower (s) |
| def | is_channel (string) |
| def | ip_numstr_to_quad (num) |
| def | ip_quad_to_numstr (quad) |
| def | nm_to_n (s) |
| def | nm_to_uh (s) |
| def | nm_to_h (s) |
| def | nm_to_u (s) |
| def | parse_nick_modes (mode_string) |
| def | parse_channel_modes (mode_string) |
Variables | |
| int | VERSION = 0, 4, 8 |
| int | DEBUG = 0 |
| string | nick_characters = string.ascii_letters + string.digits + _special |
| dictionary | numeric_events |
| list | generated_events |
| list | protocol_events |
| list | all_events = generated_events + protocol_events + numeric_events.values() |
| def webkitpy.thirdparty.irc.irclib.ip_numstr_to_quad | ( | num | ) |
Convert an IP number as an integer given in ASCII representation (e.g. '3232235521') to an IP address string (e.g. '192.168.0.1').
| def webkitpy.thirdparty.irc.irclib.ip_quad_to_numstr | ( | quad | ) |
Convert an IP address string (e.g. '192.168.0.1') to an IP number as an integer given in ASCII representation (e.g. '3232235521').
| def webkitpy.thirdparty.irc.irclib.irc_lower | ( | s | ) |
Returns a lowercased string. The definition of lowercased comes from the IRC specification (RFC 1459).
| def webkitpy.thirdparty.irc.irclib.is_channel | ( | string | ) |
Check if a string is a channel name. Returns true if the argument is a channel name, otherwise false.
| def webkitpy.thirdparty.irc.irclib.mask_matches | ( | nick, | |
| mask | |||
| ) |
Check if a nick matches a mask. Returns true if the nick matches, otherwise false.
| def webkitpy.thirdparty.irc.irclib.nm_to_h | ( | s | ) |
Get the host part of a nickmask. (The source of an Event is a nickmask.)
| def webkitpy.thirdparty.irc.irclib.nm_to_n | ( | s | ) |
Get the nick part of a nickmask. (The source of an Event is a nickmask.)
| def webkitpy.thirdparty.irc.irclib.nm_to_u | ( | s | ) |
Get the user part of a nickmask. (The source of an Event is a nickmask.)
| def webkitpy.thirdparty.irc.irclib.nm_to_uh | ( | s | ) |
Get the userhost part of a nickmask. (The source of an Event is a nickmask.)
| def webkitpy.thirdparty.irc.irclib.parse_channel_modes | ( | mode_string | ) |
Parse a channel mode string. The function returns a list of lists with three members: sign, mode and argument. The sign is \"+\" or \"-\". The argument is None if mode isn't one of \"b\", \"k\", \"l\", \"v\" or \"o\". Example: >>> irclib.parse_channel_modes(\"+ab-c foo\") [['+', 'a', None], ['+', 'b', 'foo'], ['-', 'c', None]]
| def webkitpy.thirdparty.irc.irclib.parse_nick_modes | ( | mode_string | ) |
Parse a nick mode string. The function returns a list of lists with three members: sign, mode and argument. The sign is \"+\" or \"-\". The argument is always None. Example: >>> irclib.parse_nick_modes(\"+ab-c\") [['+', 'a', None], ['+', 'b', None], ['-', 'c', None]]
| list webkitpy.thirdparty.irc.irclib.all_events = generated_events + protocol_events + numeric_events.values() |
| int webkitpy.thirdparty.irc.irclib.DEBUG = 0 |
| list webkitpy.thirdparty.irc.irclib.generated_events |
| string webkitpy.thirdparty.irc.irclib.nick_characters = string.ascii_letters + string.digits + _special |
| dictionary webkitpy.thirdparty.irc.irclib.numeric_events |
| list webkitpy.thirdparty.irc.irclib.protocol_events |
| int webkitpy.thirdparty.irc.irclib.VERSION = 0, 4, 8 |
1.8.13