libmsn
.
Classes | |
class | AuthData |
class | Buddy |
The Buddy class contains information about a member of a buddy list. More... | |
class | Group |
The Group class represents a group of contacts on the buddy list. More... | |
class | Connection |
An abstract base class that represents a connection to another computer. More... | |
class | Callbacks |
class | FileTransferInvitation |
Contains information about the invitation that was sent or received when a file transfer was initiated. More... | |
class | FileTransferConnection |
Represents a connection to another users computer for the purpose of transferring a file. More... | |
class | hasCookieOf |
class | Invitation |
class | Message |
This class represents an MSN message. More... | |
class | _sameUserName |
class | ListSyncInfo |
Contains information about synchronising the contact list with the server. More... | |
class | connectinfo |
class | NotificationServerConnection |
Represents a connection to a MSN notification server. More... | |
class | InvalidPassport |
An InvalidPassport exception will be thrown whenever a malformed passport is passed to a function that requires a valid address. More... | |
class | Passport |
A Passport represents a passport address. More... | |
class | SwitchboardServerConnection |
Represents a connection to a MSN switchboard. More... | |
Enumerations | |
enum | BuddyStatus { STATUS_AVAILABLE, STATUS_BUSY, STATUS_IDLE, STATUS_BERIGHTBACK, STATUS_AWAY, STATUS_ONTHEPHONE, STATUS_OUTTOLUNCH, STATUS_INVISIBLE } |
The online state of a buddy. More... | |
enum | ErrorCodes { ERR_SYNTAX_ERROR = 200, ERR_INVALID_PARAMETER, ERR_INVALID_USER = 205, ERR_FQDN_MISSING, ERR_ALREADY_LOGIN, ERR_INVALID_USERNAME, ERR_INVALID_FRIENDLY_NAME, ERR_LIST_FULL, ERR_ALREADY_THERE = 215, ERR_NOT_ON_LIST, ERR_ALREADY_IN_THE_MODE = 218, ERR_ALREADY_IN_OPPOSITE_LIST, ERR_SWITCHBOARD_FAILED = 280, ERR_NOTIFY_XFR_FAILED, ERR_REQUIRED_FIELDS_MISSING = 300, ERR_NOT_LOGGED_IN = 302, ERR_INTERNAL_SERVER = 500, ERR_DB_SERVER = 501, ERR_FILE_OPERATION = 510, ERR_MEMORY_ALLOC = 520, ERR_SERVER_BUSY = 600, ERR_SERVER_UNAVAILABLE, ERR_PEER_NS_DOWN, ERR_DB_CONNECT, ERR_SERVER_GOING_DOWN, ERR_CREATE_CONNECTION = 707, ERR_BLOCKING_WRITE = 711, ERR_SESSION_OVERLOAD, ERR_USER_TOO_ACTIVE, ERR_TOO_MANY_SESSIONS, ERR_NOT_EXPECTED, ERR_BAD_FRIEND_FILE = 717, ERR_AUTHENTICATION_FAILED = 911, ERR_NOT_ALLOWED_WHEN_OFFLINE = 913, ERR_NOT_ACCEPTING_NEW_USERS = 920 } |
Error codes that the MSN servers may return in response to commands. More... | |
Functions | |
std::string | buddyStatusToString (BuddyStatus state) |
BuddyStatus | buddyStatusFromString (std::string state) |
std::pair< std::string, int > | splitServerAddress (const std::string &address, int default_port) |
Split a string containing a hostname and port number into its respective parts. | |
std::string | decodeURL (const std::string &s) |
URL-decode a string. | |
std::string | encodeURL (const std::string &s) |
URL-encode a string. | |
std::vector< std::string > | splitString (const std::string &s, const std::string &sep, bool suppressBlanks) |
Split string at each occurence of separator. | |
int | nocase_cmp (const std::string &s1, const std::string &s2) |
Compare two strings in a case insensitive fashion. | |
unsigned int | decimalFromString (const std::string &s) throw (std::logic_error) |
Convert a string, s, that contains decimal digits into an unsigned int. | |
Variables | |
const unsigned int | MAX_FTP_BLOCK_SIZE = 20000 |
|
The online state of a buddy.
|
|
|
|
|
|
|
Convert a string, s, that contains decimal digits into an unsigned int.
|
|
URL-decode a string.
|
|
URL-encode a string.
|
|
Compare two strings in a case insensitive fashion.
|
|
Split a string containing a hostname and port number into its respective parts.
|
|
Split string at each occurence of separator.
|
|
|