|
yast2-core
|
#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[]) |
| 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().
|
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 | ||
| ) |
References YCPElement::isNull(), SCRAgent::otherCommand(), Parser::parse(), parser, process_options(), SCRAgent::readconf(), Parser::setBuffered(), Parser::setInput(), YCPTerm::size(), and YCPTerm::value().
Referenced by main(), and run_agent().
1.8.6