[Winpcap-bugs] Documentation: no description of pcap_fopen_offline()
Gianluca Varenni
gianluca.varenni at cacetech.com
Tue Oct 20 23:20:43 PDT 2009
----- Original Message -----
From: Victor Leitman
To: winpcap-bugs at winpcap.org
Sent: Tuesday, October 20, 2009 6:38 PM
Subject: [Winpcap-bugs] Documentation: no description of pcap_fopen_offline()
The WinPcap 4.1.1 documentation of pcap_open_offline() function mentions the pcap_fopen_offline() function, which description is missing.
True. There are still several parts of the WinPcap documentation that need to be reviewed. The main reason is that whenever a function gets added to libpcap (and then exported from WinPcap), I need to manually extract the man pages and create the proper documentation for it into WinPcap. Sometimes I miss some of them.
Also the WinPcap 4.1.1 announcement email mentions function pcap_hopen_offline(), which if I understand correctly from reading archives, can be used on Windows systems instead of pcap_fopen_offline(). It would be useful if the WinPcap documentation clarifies this point.
pcap_hopen_offline is actually an internal undocumented function, used to properly implement pcap_fopen_offline under windows: due to C-RunTime issues, it's impossible to export pcap_fopen_offline() directly from wpcap.dll.
The main issue here is that pcap_fopen_offline is not documented.
Also, a minor point on inconsistency in the documentation examples in section "Handling offline dump files". The example "Reading packets from a dump file" describes that the file will be opened with the pcap_open_offline() method, but the example source code uses method pcap_open().
You are totally right. I will fix the documentation.
Have a nice day
GV
Regards,
Victor Leitman
------------------------------------------------------------------------------
_______________________________________________
Winpcap-bugs mailing list
Winpcap-bugs at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-bugs/attachments/20091020/fba0ac16/attachment.htm
More information about the Winpcap-bugs
mailing list