Fix the dev guide to use the correct indent (Tab => 4 Spaces) and add Modelines info

svn path=/trunk/; revision=47415
This commit is contained in:
Alexis La Goutte 2013-02-01 09:22:40 +00:00
parent 03e97ee7d3
commit ecb898db1e
1 changed files with 946 additions and 935 deletions

View File

@ -947,7 +947,7 @@ dissect_PROTOABBREV(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *d
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
/* This format is require because a script is used to build the C function
that calls all the protocol registration.
*/
@ -1116,8 +1116,7 @@ PROTOSHORTNAME An abbreviated name for the protocol; this is displayed
and in the dialog box for filter fields when constructing
a filter expression.
PROTOABBREV A name for the protocol for use in filter expressions;
it shall contain only lower-case letters, digits, and
hyphens.
it shall contain only lower-case letters, digits, and hyphens.
FIELDNAME The displayed name for the header field.
FIELDABBREV The abbreviated name for the header field. (NO SPACES)
FIELDTYPE FT_NONE, FT_BOOLEAN, FT_UINT8, FT_UINT16, FT_UINT24,
@ -4085,3 +4084,15 @@ ptvcursor_set_subtree(ptvcursor_t* ptvc, proto_item* it, gint ett_subtree);
Creates a subtree and adds it to the cursor as the working tree but does
not save the old working tree.
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html
*
* Local variables:
* c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
* vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=4:tabSize=8:noTabs=true:
*/