Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

evaluationmanager.h File Reference

Evaluation Manager interface definition. More...

#include "lcmaps_db_read.h"
#include "pdl.h"
#include "pdl_policy.h"

Include dependency graph for evaluationmanager.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int startEvaluationManager (const char *name)
int getPluginNameAndArgs (lcmaps_db_entry_t **plugin)
int runEvaluationManager (void)
int stopEvaluationManager (void)


Detailed Description

Evaluation Manager interface definition.

The function listed in here are accessible to anyone. This is the way to communicate with the evaluation manager. The evaluation manager deligates the becessary work to the Policy Language Description module (PDL).

Author:
G.M. Venekamp (venekamp@nikhef.nl)
Version:
Revision:
1.6
Date:
Date:
2003/05/26 10:50:26

Definition in file evaluationmanager.h.


Function Documentation

int getPluginNameAndArgs ( lcmaps_db_entry_t ** plugin )
 

Get a list of plugins and their arguments based on the configuration file. The memory that is allocted is freed during the stopEvaluationManager() call.

Parameters:
plugins   Pointer to be intialized with the first entry of the plugin list.
Return values:
0   when the call is successful,
1   otherwise.

Definition at line 86 of file evaluationmanager.c.

Referenced by startPluginManager().

int runEvaluationManager ( void )
 

Run the evaluation manager. The evaluation manager has to be initialized by calling statrEvaluation Manager first.

Return values:
0   when the call is successful,
1   otherwise.

Definition at line 164 of file evaluationmanager.c.

int startEvaluationManager ( const char * name )
 

Start the evaluation manager.

Parameters:
name   Name of the configure script.
Return values:
0   when the call is successful,
1   otherwise.

Definition at line 62 of file evaluationmanager.c.

Referenced by startPluginManager().

int stopEvaluationManager ( void )
 

Stop the evaluation manager after is has run successfully. Strictly speaking, the evalauation manager needs no stopping. This call is a good point to clean up the resources used by the evaluation manager.

Return values:
0   when the call is successful,
1   otherwise.

Definition at line 195 of file evaluationmanager.c.


Generated at Fri Jul 11 18:37:52 2003 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001