Wireshark-bugs: [Wireshark-bugs] [Bug 4666] New: Make new functions for common wtap_seek_read()
Date: Tue, 13 Apr 2010 04:44:48 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4666

           Summary: Make new functions for common wtap_seek_read() usage
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: darkjames@xxxxxxxxxxxxxxxx


Created an attachment (id=4522)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4522)
New functions: cf_read_frame_r, cf_read_frame

Build Information:
. 
--
It's much easier to write:
 cf_read_frame (cf, fdata, &err, &err_info)

instead:
 wtap_seek_read (cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd,
fdata->cap_len, &err, &err_info) 

:)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.