struct tapi_job_simple_desc_t
Overview
A simplified description of a job. More…
#include <tapi_job.h> struct tapi_job_simple_desc_t { // fields const char* name; const char* spawner; const char* program; const char** argv; const char** env; tapi_job_t** job_loc; tapi_job_channel_t** stdin_loc; tapi_job_channel_t** stdout_loc; tapi_job_channel_t** stderr_loc; tapi_job_simple_filter_t* filters; };
Detailed Documentation
A simplified description of a job. The caller is expected to fill the fields one is interested in and leave others NULL
.
Fields
const char* name
Name of the job. Might be useful for jobs created by CFG factory (see tapi_job_create_named()).
const char* spawner
Spawner type
const char* program
Program path
const char** argv
Program argument vector
const char** env
Program environment
tapi_job_t** job_loc
Location for a job handle var
tapi_job_channel_t** stdin_loc
Location for a channel handle connected to stdin
tapi_job_channel_t** stdout_loc
Location for a channel handle connected to stdout
tapi_job_channel_t** stderr_loc
Location for a channel handle connected to stderr
tapi_job_simple_filter_t* filters
Vector of filters. If not NULL
, the last element should have use_stdout and use_stderr set to false