aboutsummaryrefslogtreecommitdiffstats
path: root/packet-yhoo.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-03-01 00:09:03 +0000
committerGuy Harris <guy@alum.mit.edu>2003-03-01 00:09:03 +0000
commite59e9b9bab3a28ea78a58fff8be2df165f8b25b7 (patch)
treecc3a5793d992ae7b820fd30986a8a58fe32aefd6 /packet-yhoo.h
parent16db97a28cec8a3fab9e35589d2f34f4e5488ac7 (diff)
Yahoo Messenger YMSG protocol support, from Wayne Parrott.
Pull "packet-yhoo.h" into "packet-yhoo.c". svn path=/trunk/; revision=7226
Diffstat (limited to 'packet-yhoo.h')
-rw-r--r--packet-yhoo.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/packet-yhoo.h b/packet-yhoo.h
deleted file mode 100644
index 3d1546088d..0000000000
--- a/packet-yhoo.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* packet-yhoo.h
- * Definitions for packet disassembly structures and routines
- *
- * $Id: packet-yhoo.h,v 1.8 2002/08/28 21:00:40 jmayer Exp $
- *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
- * Copyright 1998 Gerald Combs
- *
- *
- * 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.
- */
-
-/* This is from yahoolib.h from gtkyahoo */
-
-#ifndef YAHOO_LIB_H
-#define YAHOO_LIB_H
-
-/* Service constants */
-#define YAHOO_SERVICE_LOGON 1
-#define YAHOO_SERVICE_LOGOFF 2
-#define YAHOO_SERVICE_ISAWAY 3
-#define YAHOO_SERVICE_ISBACK 4
-#define YAHOO_SERVICE_IDLE 5
-#define YAHOO_SERVICE_MESSAGE 6
-#define YAHOO_SERVICE_IDACT 7
-#define YAHOO_SERVICE_IDDEACT 8
-#define YAHOO_SERVICE_MAILSTAT 9
-#define YAHOO_SERVICE_USERSTAT 10
-#define YAHOO_SERVICE_NEWMAIL 11
-#define YAHOO_SERVICE_CHATINVITE 12
-#define YAHOO_SERVICE_CALENDAR 13
-#define YAHOO_SERVICE_NEWPERSONALMAIL 14
-#define YAHOO_SERVICE_NEWCONTACT 15
-#define YAHOO_SERVICE_ADDIDENT 16
-#define YAHOO_SERVICE_ADDIGNORE 17
-#define YAHOO_SERVICE_PING 18
-#define YAHOO_SERVICE_GROUPRENAME 19
-#define YAHOO_SERVICE_SYSMESSAGE 20
-#define YAHOO_SERVICE_PASSTHROUGH2 22
-#define YAHOO_SERVICE_CONFINVITE 24
-#define YAHOO_SERVICE_CONFLOGON 25
-#define YAHOO_SERVICE_CONFDECLINE 26
-#define YAHOO_SERVICE_CONFLOGOFF 27
-#define YAHOO_SERVICE_CONFADDINVITE 28
-#define YAHOO_SERVICE_CONFMSG 29
-#define YAHOO_SERVICE_CHATLOGON 30
-#define YAHOO_SERVICE_CHATLOGOFF 31
-#define YAHOO_SERVICE_CHATMSG 32
-#define YAHOO_SERVICE_FILETRANSFER 70
-
-/* Message flags */
-#define YAHOO_MSGTYPE_NONE 0
-#define YAHOO_MSGTYPE_NORMAL 1
-#define YAHOO_MSGTYPE_BOUNCE 2
-#define YAHOO_MSGTYPE_STATUS 4
-#define YAHOO_MSGTYPE_OFFLINE 1515563606 /* yuck! */
-
-struct yahoo_rawpacket
-{
- char version[8]; /* 7 chars and trailing null */
- unsigned char len[4]; /* length - little endian */
- unsigned char service[4]; /* service - little endian */
- unsigned char connection_id[4]; /* connection number - little endian */
- unsigned char magic_id[4]; /* magic number used for http session */
- unsigned char unknown1[4];
- unsigned char msgtype[4];
- char nick1[36];
- char nick2[36];
- char content[1]; /* was zero, had problems with aix xlc */
-};
-
-#endif