Ethereal-cvs: [Ethereal-cvs] rev 13078: /trunk/epan/dissectors/: packet-frame.c /trunk/epan/:

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Sun, 16 Jan 2005 23:31:03 -0000
User: guy
Date: 2005/01/16 05:30 PM

Log:
 Rename the FieldError exception to DissectorError.
 
 Add a DISSECTOR_ASSERT() macro, which is the usual type of assertion
 macro, but throws a DissectorError exception with a message giving the
 flien and line number and the failed test as a string.  Use that macro
 in "alloc_field_info()".
 
 Report that exception in the Info column and the protocol tree, as well
 as logging the exception failure with g_warning().

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +15 -10    packet-frame.c    Modified

Directory: /trunk/epan/
  Changes    Path            Action
  +1 -1      exceptions.h    Modified
  +1 -6      proto.c         Modified
  +14 -0     proto.h         Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=13078&view=rev