General cleanup:

- Fix two minor bugs which resulted in missing entries in packet details pane;
- Remove packet-rdp.h: It's not used elsewhere;
- Define 3 global fcns as static: they're only referenced within packet-rdp.c;;
- Localize some variable definitions & remove uneeded variable initializations;
- ...
- Fix whitespace and indentation.


svn path=/trunk/; revision=42605
This commit is contained in:
Bill Meier 2012-05-12 22:14:02 +00:00
parent e4b688d5dc
commit b8712813cc
3 changed files with 389 additions and 432 deletions

View File

@ -1392,7 +1392,6 @@ DISSECTOR_INCLUDES = \
packet-radius.h \
packet-ranap.h \
packet-raw.h \
packet-rdp.h \
packet-rdt.h \
packet-reload.h \
packet-rgmp.h \

File diff suppressed because it is too large Load Diff

View File

@ -1,40 +0,0 @@
/* packet-rdp.h
* Routines for Remote Desktop Protocol (RDP) packet dissection
*
* $Id$
*
* Copyright (c) 2010 by Graeme Lunt
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1999 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.
*/
/* Find the end of the next IMF field in the tvb.
* This is not necessarily the first \r\n as there may be continuation lines.
*
* If we have found the last field (terminated by \r\n\r\n) we indicate this in last_field .
*/
#ifndef _PACKET_RDP_H
#define _PACKET_RDP_H
void
dissect_rdp_SendData(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_);
#endif /* _PACKET_RDP_H */