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

« back to all changes in this revision

Viewing changes to wiretap/file_access.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:
1
1
/* file_access.c
2
2
 *
3
 
 * $Id: file_access.c 18562 2006-06-23 18:20:34Z ulfl $
 
3
 * $Id: file_access.c 20013 2006-11-29 06:44:07Z etxrab $
4
4
 *
5
5
 * Wiretap Library
6
6
 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
117
117
         * would be, for example, saved copies of a Telnet session
118
118
         * to some box.
119
119
         */
 
120
        erf_open,
120
121
        etherpeek_open,
121
122
        pppdump_open,
122
123
        iseries_open,
127
128
        csids_open,
128
129
        vms_open,
129
130
        cosine_open,
130
 
        erf_open,
131
131
        hcidump_open,
132
132
};
133
133
 
859
859
        return ret;
860
860
}
861
861
 
862
 
long wtap_get_bytes_dumped(wtap_dumper *wdh)
 
862
gint64 wtap_get_bytes_dumped(wtap_dumper *wdh)
863
863
{
864
864
        return wdh->bytes_dumped;
865
865
}
866
866
 
867
 
void wtap_set_bytes_dumped(wtap_dumper *wdh, long bytes_dumped)
 
867
void wtap_set_bytes_dumped(wtap_dumper *wdh, gint64 bytes_dumped)
868
868
{
869
869
        wdh->bytes_dumped = bytes_dumped;
870
870
}