Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-dcerpc.c packet-dcerpc.h

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

From: Tim Potter <tpot@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jan 2003 00:17:34 -0600 (CST)
tpot        2003/01/28 00:17:14 CST

  Modified files:
    .                    packet-dcerpc.c packet-dcerpc.h 
  Log:
  Replace the 'levels' argument to dissect_ndr_pointer() with a callback
  function and a void * callback args.  The callback is executed after
  the dissection of the ndr pointer buffer which may be called,
  depending on the number of pointers in the structure, after the return
  of the dissect_ndr_pointer() call.
  
  The callback function is of type:
  
  void (dcerpc_callback_fnct_t)(packet_info *pinfo, proto_tree *tree,
  proto_item *item, tvbuff_t *tvb, int start_offset, int end_offset,
  void *callback_args);
  
  where the proto tree and item are the tree and item created by
  dissect_ndr_pointer() and the tvb plus offsets are the buffer pointed
  to by the pointer.
  
  Revision  Changes    Path
  1.99      +41 -18    ethereal/packet-dcerpc.c
  1.26      +13 -5     ethereal/packet-dcerpc.h