yast2-core
Functions
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

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

Function Documentation

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

finds filename, sets logging

References set_log_conf(), and set_log_filename().

Referenced by main(), and run_agent_instance().

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.

References run_agent_instance().

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

Generated on a sunny day for yast2-core by doxygen 1.8.8