~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to wiretap/ber.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *
3
3
 * Basic Encoding Rules (BER) file reading
4
4
 *
5
 
 * $Id: ber.c 19224 2006-09-12 21:59:54Z gerald $
 
5
 * $Id: ber.c 19814 2006-11-05 22:46:44Z ulfl $
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU General Public License
42
42
#define BER_UNI_TAG_SEQ 16      /* SEQUENCE, SEQUENCE OF */
43
43
#define BER_UNI_TAG_SET 17      /* SET, SET OF */
44
44
 
45
 
static gboolean ber_read(wtap *wth, int *err, gchar **err_info, long *data_offset)
 
45
static gboolean ber_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
46
46
{
47
47
  guint8 *buf;
48
48
  gint64 file_size;
93
93
  return TRUE;
94
94
}
95
95
 
96
 
static gboolean ber_seek_read(wtap *wth, long seek_off, union wtap_pseudo_header *pseudo_header _U_,
 
96
static gboolean ber_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header _U_,
97
97
                              guint8 *pd, int length, int *err, gchar **err_info _U_)
98
98
{
99
99
  int packet_size = length;