diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-04-01 20:48:56 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-04-01 20:48:56 +0000 |
commit | f8ce3da390b34cb7a6ec92587823f6efc013b888 (patch) | |
tree | 9c8c772fd4ef6a6bc9727231c5fcc3ace9c53b2c /doc/README.developer | |
parent | 43f966a0ea18c0f496805e18e07dd8f91f467f62 (diff) |
Add some info as to the determination of the length of a FT_STRINGZ item.
Add a note not leaving trailing whitespace on a line.
svn path=/trunk/; revision=36434
Diffstat (limited to 'doc/README.developer')
-rw-r--r-- | doc/README.developer | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index 1c44509c8d..41f7db9bb5 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -703,6 +703,8 @@ indentation logic at the beginning of this new file, especially if you're using non-mod-8 tabs. The tabs-vs-spaces document above provides examples of Emacs and vi modelines for this purpose. +Please do not leave trailing whitespace (spaces/tabs) on lines. + When editing an existing file, try following the existing indentation logic and even if it very tempting, never ever use a restyler/reindenter utility on an existing file. If you run across wildly varying @@ -1750,6 +1752,11 @@ The type of value this field holds. The current field types are: types, are to be used for text strings, not raw binary data. FT_STRINGZ A NUL-terminated string of characters. + The string length is normally the length + given in the proto_tree_add_item() call. + However if the length given in the call + is -1, then the length used is that + returned by calling tvb_strsize(). FT_EBCDIC A string of characters, not necessarily NUL-terminated, but possibly NUL-padded. The data from the packet is converted from |