History | View | Annotate | Download (3.5 kB)
Export opportunistic lock union through WConfd
Make WConfD provide a function to opportunistically allocatelocks.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Petr Pudlak <pudlak@google.com>
Export lock intersection through WConfD
Export the functionality to restrict the owned locks to a given set.
Export freeLocks through WConfD
Export the functionality to free all locks of a givenowner.
Export updateLocks through WConfD
Export the functionality to update the locks of a givenowner through WConfD.
Export listing of locks
Make WconfD answer requests about the locks of a specificowner.
Export reading and writing the configuration using RPC
Note that currently these functions lack any kind of locking andconcurrent calls to 'writeConfig' will result in lost changes in theconfiguration.
Signed-off-by: Petr Pudlak <pudlak@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Add a module for WConfd core functions
There are no exported functions yet, except for `echo`, which justreturns its argument back to a client.