src/win32/wgaimerror.h

Mon, 14 Apr 2003 18:24:38 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 14 Apr 2003 18:24:38 +0000
changeset 5131
ce6d77bc4102
parent 4130
481d352298e9
child 5913
4d016c00bb36
permissions
-rw-r--r--

[gaim-migrate @ 5494]
Added an overlay icon for "Not Authorized" buddies for ICQ, as suggested
by Nathan Walp.

Added a "Status: Not Authorized" line to the tooltip for ICQ buddies whose
authorization you don't have. This required making the gaim core call the
tooltip_text prpl function for offline buddies (previously it was only
called for online buddies).

Fixed the right-click "Re-request authorization" action. That was a stupid
problem with a } being in the wrong place at the wrong time. I put it in
line. Some brackets just require more guidance than others.

Fixed a minor crashbug on solaris when trying to print NULL values.

/*
 *  wgaimerror.h
 *
 *  Author: Herman Bloggs <hermanator12002@yahoo.com>
 *  Date: October 14, 2002
 *  Description: Redefine Unix Errors
 */

#ifndef _WGAIMERROR_H
#define _WGAIMERROR_H

/* Here we define unix socket errors as windows socket errors */

#define ENETDOWN WSAENETDOWN
#define EAFNOSUPPORT WSAEAFNOSUPPORT
#define EINPROGRESS WSAEINPROGRESS
#define ENOBUFS WSAENOBUFS
#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
#define EPROTOTYPE WSAEPROTOTYPE
#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT

#define EADDRINUSE WSAEADDRINUSE
#define EINPROGRESS WSAEINPROGRESS
#define EALREADY WSAEALREADY
#define EADDRNOTAVAIL WSAEADDRNOTAVAIL
#define ECONNREFUSED WSAECONNREFUSED
#define EISCONN WSAEISCONN
#define ENETUNREACH WSAENETUNREACH
#define ENOTSOCK WSAENOTSOCK
#define ETIMEDOUT WSAETIMEDOUT
#define EWOULDBLOCK WSAEWOULDBLOCK

#define ENOTCONN WSAENOTCONN
#define ENETRESET WSAENETRESET
#define EOPNOTSUPP WSAEOPNOTSUPP
#define ESHUTDOWN WSAESHUTDOWN
#define EMSGSIZE WSAEMSGSIZE
#define ECONNABORTED WSAECONNABORTED
#define ECONNRESET WSAECONNRESET

#endif /* end _WGAIMERROR_H */

mercurial