More tweaks to generated script docs.

- The "private interface" section is still tracked, but no longer rendered.
  We can judge the usefulness of it later and add back if there's demand.

- Documentation of event handlers was being treated the same as event
  declarations.  Now handlers are tracked separately, but not currently
  rendered in the generated doc output since usefulness is questionable.
This commit is contained in:
Jon Siwek 2011-09-07 11:33:08 -05:00
parent 80e154ba3c
commit 95ed192088
5 changed files with 16 additions and 72 deletions

View file

@ -227,6 +227,7 @@ void BroDoc::WriteDocFile() const
WriteToDoc("%s\n", packet_filter.c_str());
}
/*
BroDocObjList::const_iterator it;
bool hasPrivateIdentifiers = false;
@ -241,6 +242,7 @@ void BroDoc::WriteDocFile() const
if ( hasPrivateIdentifiers )
WriteInterface("Private Interface", '-', '~', false, false);
*/
}
void BroDoc::WriteInterface(const char* heading, char underline,