lp:~toxedvirus/hipl/options

Created by Andrius Bentkus and last modified
Get this branch:
bzr branch lp:~toxedvirus/hipl/options
Only Andrius Bentkus can upload to this branch. If you are Andrius Bentkus please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andrius Bentkus
Project:
HIPL
Status:
Development

Recent revisions

5575. By Andrius Bentkus <email address hidden>

Add option for enabling modules.

It is now possible to enable modules (which are disabled by default) with -E modulename.
In order to enable multiple modules use "-E module1 -E module2".

5574. By Andrius Bentkus <email address hidden>

Add module enabling functionality.

This function will force the module to be executed.

5573. By Andrius Bentkus <email address hidden>

Extract searching functionality out of module disabling function.

Needed to easily implement the corrensponding module enabling function.

5572. By Andrius Bentkus <email address hidden>

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.

5571. By Andrius Bentkus <email address hidden>

Make it possible to include modules/*_modules.h multiple times in the same binary.

The generated variable which holds the module count can be made static, the struct holding the module information can't be made static: in the future we want to be able to change values in the struct.
Declaring a defined struct as static will create an exact replica (different pointers) of the struct, we need a one time definition of the struct in one object file and make it avalaible with a corresponding extern definition in the header file.

5570. By Andrius Bentkus <email address hidden>

Add command line initializator.

5569. By Andrius Bentkus <email address hidden>

Apply command line modularization to hipd.

The hipd has no inbuild modules yet, but it is good to modularize it for the future.

5568. By Andrius Bentkus <email address hidden>

Apply option modularization to firewall.

5567. By Andrius Bentkus <email address hidden>

Add option handling api.

5566. By Andrius Bentkus <email address hidden>

Enable module generation and loading for firewall.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:hipl
This branch contains Public information 
Everyone can see this information.

Subscribers