--- Begin Message ---
On Wed, 7 Oct 2020 14:37:41 -0700
Guy Harris via tcpdump-workers <tcpdump-workers@lists.tcpdump.org>


> A new API could be added that returns a PCAP_ERROR_ value rather than
> -1 on error (so as not to break source or binary compatibility with
> code using the existing APIs).

Do you mean to introduce a function like pcap_error(), which the
developers would be able to interrogate if they need in use cases like
this? Then existing functions could be slowly updated as needed to store
the fault details somewhere for that function.

    Denis Ovsienko

--- End Message ---
tcpdump-workers mailing list

Reply via email to