POWER STATUS PLUGIN FOR UNIK OLSRD
by Andreas Tnnesen(andreto@olsr.org)


              ***  LICENCING ***

THIS SOFTWARE IS LICENCED UNDER THE BSD LICENCE
TO ENABLE DEVELOPERS TO USE THIS CODE IN PROJECTS
USING NON-GLP LICENCING SCHEMES.

IN OTHER WORDS - YOU ARE FREE TO USE THIS CODE AS
A FRAMEWORK FOR WHATEVER YOU WANT.


ABOUT

The uolsrd power status plugin is ment to be a easy
to understand example of how one can write custom
plugins for the UniK olsr daemon.

It gathers powerifno from the local node by polling
the /proc/apm pseudofile. So to diffuse powerinfo
about a node it needs to have APM enabled.
All powerinfo is gathered in a database en you
can wiev the output by telneting to 127.0.0.1
port 8888 on the local machine.


WHAT IS IT?

This code compiles as a dynamic loadable library -
known as so files in Linux and DLL in windows.
The code is loaded by olsrd at runtime and the
plugin can use certain functionality offered
by olsrd.
It is very usefull when adding custom packettypes
but it could be used for a variety of purposes.


Read the HOWTO at www.olsr.org for more info

- Andreas T
