diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-10-22 20:01:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-10-22 20:01:14 +0000 |
commit | 4b15a76ece6d6270230e53a0eaa3531eea605793 (patch) | |
tree | a13956de7a720de6f1a28704cbccca4e2823932d /doc | |
parent | 37dc5466140e62247cc44068c076d564c1eeafef (diff) |
When looking for definitions of "proto_register" and "proto_reg_handoff"
routines, throw out lines containing semicolons, so that we don't see
*declarations* of those routines.
svn path=/trunk/; revision=2530
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/README.developer b/doc/README.developer index 6e3e32cf34..4d8ab0858f 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1,4 +1,4 @@ -$Id: README.developer,v 1.16 2000/08/18 13:47:42 deniel Exp $ +$Id: README.developer,v 1.17 2000/10/22 20:01:14 guy Exp $ This file is a HOWTO for Ethereal developers. It describes how to start coding a protocol dissector and the use some of the important functions and variables @@ -57,7 +57,7 @@ code inside is needed only if you are using the "snprintf()" function. -The "$Id: README.developer,v 1.16 2000/08/18 13:47:42 deniel Exp $" in the comment will be updated by CVS when the file is +The "$Id: README.developer,v 1.17 2000/10/22 20:01:14 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. @@ -66,7 +66,7 @@ version of the file is currently checked out. * Routines for PROTONAME dissection * Copyright 2000, YOUR_NAME <YOUR_EMAIL_ADDRESS> * - * $Id: README.developer,v 1.16 2000/08/18 13:47:42 deniel Exp $ + * $Id: README.developer,v 1.17 2000/10/22 20:01:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -413,7 +413,12 @@ proto_register_XXX( void ) } - and so on should work. + and so on should work; + + the line containing the "register" routine's name must not + contain a semicolon (those lines are ignored, in the hopes of + not treating declarations of those routines as definitions of + those routines). For every protocol or field that a dissector wants to register, a variable of type int needs to be used to keep track of the protocol. The IDs are |