view pidgin/win32/IdleTracker/idletrack.h @ 30296:1147389b5424

When logging-in with the HTTP protocol, we need to save the HTTP info (server address, session id) *before* checking the current presence state. Otherwise mxit_send_presence() might be called which will generate and send an invalid MXit HTTP packet.
author andrew.victor@mxit.com
date Tue, 04 May 2010 21:09:52 +0000
parents d93577159f2a
children
line wrap: on
line source

/*
 * idletrack.h
 */
#include <windows.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

DWORD winpidgin_get_lastactive(void);
BOOL winpidgin_set_idlehooks(void);
void winpidgin_remove_idlehooks(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */