struct tapi_job_opt_array

Overview

The descriptor for an array-typed field. More…

#include <tapi_job_opt.h>

struct tapi_job_opt_array {
    // fields

    size_t array_offset;
    bool is_ptr;
    size_t element_size;
    const char* sep;
    tapi_job_opt_bind bind;
};

Detailed Documentation

The descriptor for an array-typed field. This structure shall never be used directly, see TAPI_JOB_OPT_ARRAY()

Fields

size_t array_offset

The offset of the data field relative to the length

bool is_ptr

The data field contains a pointer to an array.

size_t element_size

Size of an element in the array

const char* sep

Separator between array elements

tapi_job_opt_bind bind

Option bind for every element in the array