struct tapi_job_opt_bind

Overview

Bind between a tool’s option struct field and command line arguments. More…

#include <tapi_job_opt.h>

struct tapi_job_opt_bind {
    // fields

    tapi_job_opt_arg_format fmt_func;
    const char* prefix;
    bool concatenate_prefix;
    const char* suffix;
    size_t opt_offset;
    const void* priv;
};

Detailed Documentation

Bind between a tool’s option struct field and command line arguments.

Field here is a member of a struct. The struct is the tool’s custom struct with command line options.

Fields

tapi_job_opt_arg_format fmt_func

Formatting function

const char* prefix

Argument prefix

bool concatenate_prefix

Concatenate prefix with the argument

const char* suffix

Argument suffix (always concatenated with the argument)

size_t opt_offset

Offset of a field

const void* priv

Private data for value conversion