diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-10-12 14:53:57 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-10-12 14:53:57 +0000 |
commit | 3b55a62fdcb1f8222de3c2c8fbed530792c419a0 (patch) | |
tree | 5b2f628e847f61bb3e16f95ecaed6e187963362f /protocols/IcqOscarJ/tlv.h | |
parent | 1f9c986d82657f965462d289bf94aa012cf026fc (diff) |
GTalkExt, ICQ, IRC, Jabber: folders restructurization
git-svn-id: http://svn.miranda-ng.org/main/trunk@1890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/tlv.h')
-rw-r--r-- | protocols/IcqOscarJ/tlv.h | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/protocols/IcqOscarJ/tlv.h b/protocols/IcqOscarJ/tlv.h deleted file mode 100644 index 5cee00c7c4..0000000000 --- a/protocols/IcqOscarJ/tlv.h +++ /dev/null @@ -1,81 +0,0 @@ -// ---------------------------------------------------------------------------80
-// ICQ plugin for Miranda Instant Messenger
-// ________________________________________
-//
-// Copyright © 2000-2001 Richard Hughes, Roland Rabien, Tristan Van de Vreede
-// Copyright © 2001-2002 Jon Keating, Richard Hughes
-// Copyright © 2002-2004 Martin Öberg, Sam Kothari, Robert Rainwater
-// Copyright © 2004-2008 Joe Kucera
-//
-// This program is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License
-// as published by the Free Software Foundation; either version 2
-// of the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-//
-// -----------------------------------------------------------------------------
-// DESCRIPTION:
-//
-// Describe me here please...
-//
-// -----------------------------------------------------------------------------
-#ifndef __TLV_H
-#define __TLV_H
-
-/*---------* Structures *--------------*/
-
-struct oscar_tlv
-{
- WORD wType;
- WORD wLen;
- BYTE *pData;
-};
-
-
-struct oscar_tlv_chain
-{
- oscar_tlv tlv;
- oscar_tlv_chain *next;
-
- WORD getChainLength();
-
- oscar_tlv* getTLV(WORD wType, WORD wIndex);
- oscar_tlv* putTLV(WORD wType, WORD wLen, BYTE *pData, BOOL bReplace);
- oscar_tlv_chain* removeTLV(oscar_tlv *tlv);
- WORD getLength(WORD wType, WORD wIndex);
-
- DWORD getDWord(WORD wType, WORD wIndex);
- WORD getWord(WORD wType, WORD wIndex);
- BYTE getByte(WORD wType, WORD wIndex);
- int getNumber(WORD wType, WORD wIndex);
- double getDouble(WORD wType, WORD wIndex);
- char* getString(WORD wType, WORD wIndex);
-};
-
-
-struct oscar_tlv_record_list
-{
- oscar_tlv_chain *item;
- oscar_tlv_record_list *next;
-
- oscar_tlv_chain* getRecordByTLV(WORD wType, int nValue);
-};
-
-/*---------* Functions *---------------*/
-
-oscar_tlv_chain* readIntoTLVChain(BYTE **buf, WORD wLen, int maxTlvs);
-void disposeChain(oscar_tlv_chain** chain);
-
-oscar_tlv_record_list* readIntoTLVRecordList(BYTE **buf, WORD wLen, int nCount);
-void disposeRecordList(oscar_tlv_record_list** list);
-
-
-#endif /* __TLV_H */
|