input_stream.exceptions(IOS_BASE::badbit | IOS_BASE::failbit);
65unique_ptr<CCgiRequest> request;
75 ": Error while parsing CGI request stream: %s.\n",
83list<string> var_names;
85 env.Enumerate(var_names);
87 ITERATE(list<string>, var, var_names) {
94fwrite(request->GetContent().c_str(), 1,
104 switch(job_status) {
117 ": cannot retrieve job output while the job is %s.\n",
CCompoundIDPool m_CompoundIDPool
bool IsOptionSet(int option) const
void SetUp_NetScheduleCmd(EAPIClass api_class, EAdminCmdSeverity cmd_severity=eReadOnlyAdminCmd, bool require_queue=true)
struct CGridCommandLineInterfaceApp::SOptions m_Opts
CNetScheduleAPIExt m_NetScheduleAPI
CNetCacheAPI m_NetCacheAPI
string SaveJobInput(const string &target_dir, CNetCacheAPI &nc_api)
string SaveJobOutput(CNetScheduleAPI::EJobStatus job_status, const string &target_dir, CNetCacheAPI &nc_api)
Note about the "buf_size" parameter for streams in this API.
@ fLeakExceptions
Exceptions leaked out.
String or Blob Storage Reader.
Declarations of command line interface arguments and handlers.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
@ fSaveRequestContent
Save request content (available through GetContent())
@ fDoNotParseContent
do not automatically parse the request's content body (from "istr")
@ fIgnoreQueryString
do not parse $QUERY_STRING (or cmd.line if $REQUEST_METHOD not def)
virtual const char * what(void) const noexcept
Standard report (includes full backlog).
EJobStatus
Job status codes.
EJobStatus GetJobDetails(CNetScheduleJob &job, time_t *job_exptime=NULL, ENetScheduleQueuePauseMode *pause_mode=NULL)
Get job details.
static string StatusToString(EJobStatus status)
Printable status type.
string job_id
Output job key.
@ eDone
Job is ready (computed successfully)
@ eConfirmed
Final state - read confirmed.
@ eReading
Job has its output been reading.
@ eCanceled
Explicitly canceled.
@ eJobNotFound
No such job.
@ eReadFailed
Final state - read failed.
@ eFailed
Failed to run (execution timeout)
static string PrintableString(const CTempString str, TPrintableMode mode=fNewLine_Quote|fNonAscii_Passthru)
Get a printable version of the specified string.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4