PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | WSErrorEntry |
struct | MessageDLL |
Macros | |
#define | VC_EXTRALEAN |
#define | NOGDI |
#define | NOCRYPT |
#define | libpq_gettext(x) (x) |
#define | DLLS_SIZE (sizeof(dlls)/sizeof(struct MessageDLL)) |
Functions | |
static int | LookupWSErrorMessage (DWORD err, char *dest) |
const char * | winsock_strerror (int err, char *strerrbuf, size_t buflen) |
Variables | |
static struct WSErrorEntry | WSErrors [] |
struct MessageDLL | dlls [] |
#define DLLS_SIZE (sizeof(dlls)/sizeof(struct MessageDLL)) |
Definition at line 268 of file win32.c.
Referenced by winsock_strerror().
#define libpq_gettext | ( | x | ) | (x) |
Definition at line 39 of file win32.c.
Referenced by winsock_strerror().
|
static |
Definition at line 218 of file win32.c.
References WSErrorEntry::description, WSErrorEntry::error, and WSErrors.
Referenced by winsock_strerror().
const char* winsock_strerror | ( | int | err, |
char * | strerrbuf, | ||
size_t | buflen | ||
) |
Definition at line 281 of file win32.c.
References dlls, DLLS_SIZE, MessageDLL::handle, i, libpq_gettext, MessageDLL::loaded, LookupWSErrorMessage(), sprintf, and success.
struct MessageDLL dlls[] |
Referenced by winsock_strerror().
|
static |
Referenced by LookupWSErrorMessage().