Mercurial > pidgin
view libpurple/protocols/zephyr/zephyr_err.h @ 25453:a946cffda321
Use g_direct_hash/equal instead of g_int_hash/equal for the hash table that
holds the saved statuses. The effect is that this will take into account
the different size of time_t across 32-bit and 64-bit systems. There
should not be any side effects because it is only used at runtime for the
hash key, and all the important data is stored in the value.
This should stop any mysterious infinite loop problems on big-endian
systems which were trying to use the MSB of the time as a hash key.
Fixes #5887.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 15 Feb 2009 07:19:59 +0000 |
parents | 5fe8042783c1 |
children |
line wrap: on
line source
/* * zephyr_err.h: * This file is automatically generated; please do not edit it. */ #define ZERR_PKTLEN (-772103680L) #define ZERR_HEADERLEN (-772103679L) #define ZERR_ILLVAL (-772103678L) #define ZERR_HMPORT (-772103677L) #define ZERR_PORTINUSE (-772103676L) #define ZERR_BADPKT (-772103675L) #define ZERR_VERS (-772103674L) #define ZERR_NOPORT (-772103673L) #define ZERR_NONOTICE (-772103672L) #define ZERR_QLEN (-772103671L) #define ZERR_HMDEAD (-772103670L) #define ZERR_INTERNAL (-772103669L) #define ZERR_NOLOCATIONS (-772103668L) #define ZERR_NOMORELOCS (-772103667L) #define ZERR_FIELDLEN (-772103666L) #define ZERR_BADFIELD (-772103665L) #define ZERR_SERVNAK (-772103664L) #define ZERR_AUTHFAIL (-772103663L) #define ZERR_LOGINFAIL (-772103662L) #define ZERR_NOSUBSCRIPTIONS (-772103661L) #define ZERR_NOMORESUBSCRIPTIONS (-772103660L) #define ZERR_TOOMANYSUBS (-772103659L) #define ZERR_EOF (-772103658L) void initialize_zeph_error_table (void); #define ERROR_TABLE_BASE_zeph (-772103680L) /* for compatibility with older versions... */ #define init_zeph_err_tbl initialize_zeph_error_table #define zeph_err_base ERROR_TABLE_BASE_zeph