Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

run_agent.h File Reference

#include <stdio.h>
#include <unistd.h>
#include <ycp/y2log.h>
#include <ycp/Parser.h>
#include <y2/Y2StdioComponent.h>
#include <scr/SCRAgent.h>
#include <scr/SCR.h>

Go to the source code of this file.

Functions

template<class Agent> void run_agent (int argc, char *argv[], bool load_scr)
const char * process_options (int argc, char *argv[])
void run_agent_instance (int argc, char *argv[], bool load_scr, SCRAgent *agent)


Function Documentation

const char* process_options int  argc,
char *  argv[]
 

finds filename, sets logging

template<class Agent>
void run_agent int  argc,
char *  argv[],
bool  load_scr
[inline]
 

Function to run an agent. Only use in testsuites for agents.

void run_agent_instance int  argc,
char *  argv[],
bool  load_scr,
SCRAgent agent
 


Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6