~toxedvirus/hipl/modules

Viewing all changes in revision 5572.

  • Committer: Andrius Bentkus
  • Date: 2010-12-19 16:40:10 UTC
  • Revision ID: andrius.bentkus@rwth-aachen.de-20101219164010-svn5htrjray3pmpa
Rewrite module disabling.

Until now an array of strings was allocated and reallocated with every additional disabled module.
This was a problem since we wanted to be able for the plugin itself to decide if it wants to be disabled or not (by default disabled but enable with a special option).

This change simplifies the mechanism of keeping track of disabled modules by moving the disabled information to the module struct.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: