struct tapi_haproxy_opt

Overview

HAProxy specific command line options. More…

#include <tapi_haproxy.h>

struct tapi_haproxy_opt {
    // fields

    const char* haproxy_path;
    const char* cfg_file;
    const tapi_haproxy_cfg_opt* cfg_opt;
    bool verbose;
};

Detailed Documentation

HAProxy specific command line options.

Fields

const char* haproxy_path

Path to the executable.

const char* cfg_file

Config file for HAProxy to read. Set to NULL to generate config file from tapi_haproxy_opt::cfg_opt.

const tapi_haproxy_cfg_opt* cfg_opt

Configuration options for HAProxy. This field is ignored if tapi_haproxy_opt::cfg_file is not NULL.

bool verbose

Verbosity flag.