diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-07-31 19:36:36 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-07-31 19:36:36 -0700 |
commit | 30e23f3cf3df60a681bc14dd4fb7fba642e29039 (patch) | |
tree | f70c61649e7448a7633500f841f89663d37dc2c7 /pcap-stdinc.h | |
parent | 460ed6a30e7708b0e10d1501cdb5d6165adf1f4d (diff) |
Give a better discussion of possible errors.
Give each warning and error code its own paragraph.
Note that, in the future, additional warning and error codes may be
added, so programs should treat *all* positive return codes as warnings
and *all* negative return codes as errors, and, if the warning or error
code isn't one the program specifically checks for, and isn't
PCAP_WARNING or PCAP_ERROR, it should use pcap_statustostr() to report
the warning or error.
(Yes, we've added additional return codes in the past, subsequent to
release 1.0, so it's not as if we're changing anything with this
announcement.)
Diffstat (limited to 'pcap-stdinc.h')
0 files changed, 0 insertions, 0 deletions