Add a note on how to handle obsolete preferences

svn path=/trunk/; revision=22279
This commit is contained in:
Jaap Keuter 2007-07-09 16:44:30 +00:00
parent a4153c5c0f
commit 29b56573a0
1 changed files with 8 additions and 0 deletions

View File

@ -3241,6 +3241,14 @@ This will create preferences "beep.tcp.port" and
"beep.strict_header_terminator", the first of which is an unsigned
integer and the second of which is a Boolean.
Note that a warning will pop up if you've saved such preference to the
preference file and you subsequently take the code out. The way to make
a preference obsolete is to register it as such:
/* Register a preference that used to be supported but no longer is. */
void prefs_register_obsolete_preference(module_t *module,
const char *name);
2.7 Reassembly/desegmentation for protocols running atop TCP.
There are two main ways of reassembling a Protocol Data Unit (PDU) which