12 #ifndef ZYPP_PLUGINSCRIPT_H 13 #define ZYPP_PLUGINSCRIPT_H 81 static long defaultSendTimeout();
84 static long defaultReceiveTimeout();
87 static void defaultSendTimeout(
long newval_r );
90 static void defaultReceiveTimeout(
long newval_r );
94 { defaultSendTimeout( newval_r ); defaultReceiveTimeout( newval_r ); }
112 const Arguments & args()
const;
118 pid_t getPid()
const;
121 int lastReturn()
const;
126 const std::string & lastExecError()
const;
132 long sendTimeout()
const;
135 long receiveTimeout()
const;
138 void sendTimeout(
long newval_r );
141 void receiveTimeout(
long newval_r );
145 { sendTimeout( newval_r ); receiveTimeout( newval_r ); }
157 void open(
const Pathname & script_r );
160 void open(
const Pathname & script_r,
const Arguments & args_r );
197 #endif // ZYPP_PLUGINSCRIPT_H static void defaultTimeout(long newval_r)
Set global default timeout (sec.) (both: send and receive).
void timeout(long newval_r)
Set local default timeout (sec.) (both: send and receive).
Command frame for communication with PluginScript.
PluginScript implementation.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
static const pid_t NotConnected
pid_t(-1) constant indicating no connection.
RW_pointer< Impl > _pimpl
Pointer to implementation.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
std::vector< std::string > Arguments
Commandline arguments passed to a script on open.
Interface to plugin scripts using a Stomp inspired communication protocol.
Easy-to use interface to the ZYPP dependency resolver.