*
* Utility routines for WAP dissectors
*
- * $Id: packet-wap.c,v 1.5 2002/01/21 07:36:44 guy Exp $
- *
+ * $Id: packet-wap.c,v 1.7 2002/08/28 21:00:37 jmayer Exp $
+ *
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
* 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.
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <glib.h>
#include <epan/packet.h>
#include "packet-wap.h"
-/*
+/*
* Accessor to retrieve variable length int as used in WAP protocol.
* The value is encoded in the lower 7 bits. If the top bit is set, then the
* value continues into the next byte.
guint octet;
guint counter = 0;
char cont = 1;
-
+
if (octetCount != NULL)
{
#ifdef DEBUG