a229509b85
Add support for the IBM TN5250 data stream protocol. http://wiki.wireshark.org/TN5250 From me: Move most of the contents of the header file to the .c file. Replace blurbs that match the hf name with NULL. Replace empty-string blurbs with NULL. Fix some abbreviations (hf_tn5220_xxx -> tn5220.xxx). Make some functions static. Cast some offset increments to unsigned to make sure we don't go backwards (which could create a loop). This includes making most of the subdissection functions return an unsigned number. Use find_or_create_conversation(). svn path=/trunk/; revision=32838
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/* packet-tn5250.h
|
|
* Headers for tn5250.packet dissection
|
|
*
|
|
* Reference:
|
|
* 5494 Remote Control Unit - Functions Reference
|
|
* Release 3.0 Document Number SC30-3533-04
|
|
* Chapters 12, 15, 16
|
|
*
|
|
* Copyright 2009, Robert Hogan <robert@roberthogan.net>
|
|
*
|
|
* $Id$
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.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.
|
|
*
|
|
*/
|
|
|
|
#ifndef TN5250_H_INCLUDED
|
|
#define TN5250_H_INCLUDED
|
|
|
|
void add_tn5250_conversation(packet_info *pinfo _U_, int tn5250e);
|
|
int find_tn5250_conversation(packet_info *pinfo _U_);
|
|
#endif
|