diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-10-08 12:39:54 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-10-08 12:39:54 +0000 |
commit | b628b25866e2bbd11e7b2fdeeec5cb3f15f6d680 (patch) | |
tree | 736e02c8ff3523bdd098e470b8be04470583c664 /net-im/licq | |
parent | f31f20abc67c64f63c9ba40f94c4dbba4d7614fb (diff) |
Notes
Diffstat (limited to 'net-im/licq')
-rw-r--r-- | net-im/licq/files/patch-licq_buffer.h | 12 | ||||
-rw-r--r-- | net-im/licq/files/patch-licq_icqd.h | 75 |
2 files changed, 87 insertions, 0 deletions
diff --git a/net-im/licq/files/patch-licq_buffer.h b/net-im/licq/files/patch-licq_buffer.h new file mode 100644 index 000000000000..3de48085cf96 --- /dev/null +++ b/net-im/licq/files/patch-licq_buffer.h @@ -0,0 +1,12 @@ +diff -ru licq-1.3.2/include/licq_buffer.h include/licq_buffer.h +--- licq-1.3.2/include/licq_buffer.h Wed Feb 4 18:00:20 2004 ++++ include/licq_buffer.h Sat Jul 15 16:38:24 2006 +@@ -62,7 +62,7 @@ + + char *Pack(CBuffer *); + char *Pack(const char *data, int size); +- char *CBuffer::PackLNTS(const char *); ++ char *PackLNTS(const char *); + char *PackString(const char *data, unsigned short max = 0); + char *PackUnsignedShort(unsigned short data); + char *PackUnsignedLong(unsigned long data); diff --git a/net-im/licq/files/patch-licq_icqd.h b/net-im/licq/files/patch-licq_icqd.h new file mode 100644 index 000000000000..520f4157cd00 --- /dev/null +++ b/net-im/licq/files/patch-licq_icqd.h @@ -0,0 +1,75 @@ +diff -ru licq-1.3.2/include/licq_icqd.h include/licq_icqd.h +--- licq-1.3.2/include/licq_icqd.h Fri Sep 9 18:13:53 2005 ++++ include/licq_icqd.h Sun Sep 3 20:00:07 2006 +@@ -6,6 +6,11 @@ + #ifndef ICQD_H + #define ICQD_H + ++#include <sys/select.h> ++#include <sys/time.h> ++#include <sys/types.h> ++#include <unistd.h> ++ + #include <vector> + #include <list> + #include <deque> +@@ -39,6 +44,28 @@ + class CReverseConnectToUserData; + class CMSN; + ++#define FOR_EACH_PROTO_PLUGIN_START(d) \ ++ { \ ++ ProtoPluginsList _pl_; \ ++ ProtoPluginsListIter _ppit; \ ++ d->ProtoPluginList(_pl_); \ ++ for (_ppit = _pl_.begin(); _ppit != _pl_.end(); _ppit++) \ ++ { ++ ++#define FOR_EACH_PROTO_PLUGIN_END \ ++ } \ ++ } ++ ++/* Forward declarations for friend functions */ ++void *Ping_tep(void *p); ++void *UpdateUsers_tep(void *p); ++void *MonitorSockets_tep(void *p); ++void *ReverseConnectToUser_tep(void *p); ++void *ProcessRunningEvent_Client_tep(void *p); ++void *ProcessRunningEvent_Server_tep(void *p); ++void *Shutdown_tep(void *p); ++void *ConnectToServer_tep(void *s); ++ + const unsigned short IGNORE_MASSMSG = 1; + const unsigned short IGNORE_NEWUSERS = 2; + const unsigned short IGNORE_EMAILPAGER = 4; +@@ -577,9 +604,12 @@ + ICQEvent *PopPluginEvent(); + CSignal *PopProtoSignal(); + +- // Server Side List functions ++ // ICQ options + bool UseServerContactList() { return m_bUseSS; } +- void SetUseServerContactList(bool b) { m_bUseSS = b; } ++ bool SendTypingNotification() { return m_bSendTN; } ++ ++ void SetUseServerContactList(bool b) { m_bUseSS = b; } ++ void SetSendTypingNotification(bool b) { m_bSendTN = b; } + + // Misc functions + bool ReconnectAfterUinClash() { return m_bReconnectAfterUinClash; } +@@ -669,6 +699,7 @@ + + // Misc + bool m_bUseSS; // server side list ++ bool m_bSendTN; // Send typing notifications + bool m_bReconnectAfterUinClash; // reconnect after uin has been used from another location? + + // Statistics +@@ -726,6 +757,7 @@ + ICQEvent *DoneExtendedServerEvent(const unsigned short, EventResult); + ICQEvent *DoneExtendedEvent(ICQEvent *, EventResult); + ICQEvent *DoneExtendedEvent(unsigned long tag, EventResult _eResult); ++ bool hasServerEvent(unsigned long); + void ProcessDoneEvent(ICQEvent *); + void PushExtendedEvent(ICQEvent *); + void PushPluginSignal(CICQSignal *); |