From 61f7a8eb4b9095da1fd7470262e0743694c86fc4 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 10 Apr 2001 07:21:38 +0000 Subject: [PATCH] Fix up some other README.developer items. svn path=/trunk/; revision=3280 --- doc/README.developer | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/README.developer b/doc/README.developer index b0c2f3380b..47b55a3abe 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1,4 +1,4 @@ -$Id: README.developer,v 1.25 2001/04/09 22:25:39 guy Exp $ +$Id: README.developer,v 1.26 2001/04/10 07:21:38 guy Exp $ This file is a HOWTO for Ethereal developers. It describes how to start coding a Ethereal protocol dissector and the use some of the important functions and @@ -62,7 +62,7 @@ code inside is needed only if you are using the "snprintf()" function. -The "$Id: README.developer,v 1.25 2001/04/09 22:25:39 guy Exp $" +The "$Id: README.developer,v 1.26 2001/04/10 07:21:38 guy Exp $" in the comment will be updated by CVS when the file is checked in; it will allow the RCS "ident" command to report which version of the file is currently checked out. @@ -72,7 +72,7 @@ version of the file is currently checked out. * Routines for PROTONAME dissection * Copyright 2000, YOUR_NAME * - * $Id: README.developer,v 1.25 2001/04/09 22:25:39 guy Exp $ + * $Id: README.developer,v 1.26 2001/04/10 07:21:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -241,11 +241,10 @@ proto_register_PROTOABBREV(void) void proto_reg_handoff_PROTOABBREV(void) { - dissector_add("PARENT_SUBFIELD", ID_VALUE, dissect_PROTOABBREV); + dissector_add("PARENT_SUBFIELD", ID_VALUE, dissect_PROTOABBREV, + proto_PROTOABBREV); } - dissector_add("llc.dsap", SAP_NETBIOS, dissect_netbios); - ------------------------------------Cut here------------------------------------ 1.3 Explanation of needed substitutions in code skeleton. @@ -282,8 +281,8 @@ ID_VALUE Lower level protocol field value that identifies this protocol 1.4.1 Header file. -This is only need if the dissector doesn't use self-registration to -register it's self with the lower level dissector +This is only needed if the dissector doesn't use self-registration to +register itself with the lower level dissector. The dissector has the following header that must be placed into packet-PROTOABBREV.h.