~toxedvirus/hipl/modules

« back to all changes in this revision

Viewing changes to modules/heartbeat/module_info.xml

  • 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    <application
14
14
        name="hipd"
15
15
        header_file="modules/heartbeat/hipd/heartbeat.h"
16
 
        init_function="hip_heartbeat_init" />
 
16
        init_function="hip_heartbeat_init"
 
17
        default_startup="yes" />
17
18
</module>