char **args, /* command line and arguments */
int section_type, /* current section CFG_{GLOBAL|LISTEN} */
struct proxy *curpx, /* current proxy (NULL in GLOBAL) */
- struct proxy *defpx, /* default proxy (NULL in GLOBAL) */
+ const struct proxy *defpx, /* default proxy (NULL in GLOBAL) */
const char *file, /* config file name */
int line, /* config file line number */
char **err); /* error or warning message output pointer */
void sess_change_server(struct stream *sess, struct server *newsrv);
struct task *process_stream(struct task *t, void *context, unsigned int state);
void default_srv_error(struct stream *s, struct stream_interface *si);
-int parse_track_counters(char **args, int *arg,
- int section_type, struct proxy *curpx,
- struct track_ctr_prm *prm,
- struct proxy *defpx, char **err);
/* Update the stream's backend and server time stats */
void stream_update_time_stats(struct stream *s);
};
static int _51d_data_file(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int _51d_property_name_list(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int cur_arg = 1;
}
static int _51d_property_separator(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int _51d_cache_size(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
/* config parser for global "profiling.tasks", accepts "on" or "off" */
static int cfg_parse_prof_tasks(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/****************** Global Section Parsing ********************************************/
static int ssl_load_global_issuers_from_path(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char *path;
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_ssl_async(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
#ifdef SSL_MODE_ASYNC
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_ssl_engine(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char *algo;
* in global section. Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_ciphers(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char **target;
* in global section. Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_ciphersuites(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char **target;
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_curves(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char **target;
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_int(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int *target;
}
static int ssl_parse_global_capture_cipherlist(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int ret;
/* init the SSLKEYLOGFILE pool */
#ifdef HAVE_OPENSSL_KEYLOG
static int ssl_parse_global_keylog(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_private_cache(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(0, args, err, NULL))
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_lifetime(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
const char *res;
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_dh_param_file(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_default_dh(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
* multiple arguments are allowed: "bundle", "sctl", "ocsp", "issuer", "all", "none"
*/
static int ssl_parse_global_extra_files(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int i;
/* parse 'ssl-load-extra-del-ext */
static int ssl_parse_global_extra_noext(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
global_ssl.extra_files_noext = 1;
/* parse the "ssl-default-bind-options" keyword in global section */
static int ssl_parse_default_bind_options(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err) {
int i = 1;
/* parse the "ssl-default-server-options" keyword in global section */
static int ssl_parse_default_server_options(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err) {
int i = 1;
* Returns <0 on alert, >0 on warning, 0 on success.
*/
static int ssl_parse_global_ca_crt_base(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char **target;
/* parse the "ssl-skip-self-issued-ca" keyword in global section. */
static int ssl_parse_skip_self_issued_ca(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
#ifdef SSL_CTX_build_cert_chain
* the first word after "stats".
*/
static int stats_parse_global(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
struct bind_conf *bind_conf;
/* returns 0 on success */
static int cfg_parse_pp2_never_send_local(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(0, args, err, NULL))
};
static int da_json_file(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int da_log_level(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int loglevel;
}
static int da_property_separator(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int da_properties_cookie(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
/* Parses the "external-check" proxy keyword */
int proxy_parse_extcheck(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **errmsg)
{
int cur_arg, ret = 0;
/* Parses the "use-fcgi-app" proxy keyword */
static int proxy_parse_use_fcgi_app(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
struct flt_conf *fconf = NULL;
/* config parser for global "tune.fd.edge-triggered", accepts "on" or "off" */
static int cfg_parse_tune_fd_edge_triggered(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
*/
static int
parse_filter(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line, char **err)
+ const struct proxy *defpx, const char *file, int line, char **err)
{
struct flt_conf *fconf = NULL;
static int
parse_compression_options(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
struct comp *comp;
}
static int hlua_read_timeout(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err, unsigned int *timeout)
{
const char *error;
}
static int hlua_session_timeout(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return hlua_read_timeout(args, section_type, curpx, defpx,
}
static int hlua_task_timeout(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return hlua_read_timeout(args, section_type, curpx, defpx,
}
static int hlua_applet_timeout(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return hlua_read_timeout(args, section_type, curpx, defpx,
}
static int hlua_forced_yield(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char *error;
}
static int hlua_parse_maxmem(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char *error;
}
static int hlua_load(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int hlua_load_per_thread(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int len;
}
static int hlua_config_prepend_path(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
char *path;
/* Parses the "errorloc[302|303]" proxy keyword */
static int proxy_parse_errorloc(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **errmsg)
{
struct conf_errors *conf_err;
/* Parses the "errorfile" proxy keyword */
static int proxy_parse_errorfile(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **errmsg)
{
struct conf_errors *conf_err;
/* Parses the "errorfiles" proxy keyword */
static int proxy_parse_errorfiles(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
struct conf_errors *conf_err = NULL;
/* Parses the "http-error" proxy keyword */
static int proxy_parse_http_error(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **errmsg)
{
struct conf_errors *conf_err;
/* config parser for global "tune.listener.multi-queue", accepts "on" or "off" */
static int cfg_parse_tune_listener_mq(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* config parser for global "h1-outgoing-header-case-adjust" */
static int cfg_parse_h1_header_case_adjust(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(2, args, err, NULL))
/* config parser for global "h1-outgoing-headers-case-adjust-file" */
static int cfg_parse_h1_headers_case_adjust_file(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* config parser for global "tune.h2.header-table-size" */
static int h2_parse_header_table_size(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* config parser for global "tune.h2.initial-window-size" */
static int h2_parse_initial_window_size(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* config parser for global "tune.h2.max-concurrent-streams" */
static int h2_parse_max_concurrent_streams(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* config parser for global "tune.h2.max-frame-size" */
static int h2_parse_max_frame_size(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
static int mworker_parse_global_max_reloads(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int linenum, char **err)
+ const struct proxy *defpx, const char *file, int linenum, char **err)
{
int err_code = 0;
* "{cli|srv|con}timeout" in args[0].
*/
static int proxy_parse_timeout(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
unsigned timeout;
int retval, cap;
const char *res, *name;
int *tv = NULL;
- int *td = NULL;
+ const int *td = NULL;
retval = 0;
* parsed, and <defpx> to the default proxy or NULL.
*/
static int proxy_parse_rate_limit(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int retval;
char *res;
unsigned int *tv = NULL;
- unsigned int *td = NULL;
+ const unsigned int *td = NULL;
unsigned int val;
retval = 0;
* the proxy being parsed, and <defpx> to the default proxy or NULL.
*/
static int proxy_parse_max_ka_queue(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int retval;
* default proxy or NULL.
*/
static int proxy_parse_declare(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
/* Capture keyword wannot be declared in a default proxy. */
/* This function parses a "retry-on" statement */
static int
proxy_parse_retry_on(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int i;
#ifdef TCP_KEEPCNT
/* This function parses "{cli|srv}tcpka-cnt" statements */
static int proxy_parse_tcpka_cnt(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int retval;
#ifdef TCP_KEEPIDLE
/* This function parses "{cli|srv}tcpka-idle" statements */
static int proxy_parse_tcpka_idle(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int retval;
#ifdef TCP_KEEPINTVL
/* This function parses "{cli|srv}tcpka-intvl" statements */
static int proxy_parse_tcpka_intvl(char **args, int section, struct proxy *proxy,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int retval;
static int proxy_parse_hard_stop_after(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
const char *res;
/* config parser for global "tune.idle-pool.shared", accepts "on" or "off" */
static int cfg_parse_idle_pool_shared(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* config parser for global "tune.pool-{low,high}-fd-ratio" */
static int cfg_parse_pool_fd_ratio(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int arg = -1;
/* config parser for global "tune.sched.low-latency", accepts "on" or "off" */
static int cfg_parse_tune_sched_low_latency(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (too_many_args(1, args, err, NULL))
/* Parse a tcp-response rule. Return a negative value in case of failure */
static int tcp_parse_response_rule(char **args, int arg, int section_type,
- struct proxy *curpx, struct proxy *defpx,
+ struct proxy *curpx, const struct proxy *defpx,
struct act_rule *rule, char **err,
unsigned int where,
const char *file, int line)
/* Parse a tcp-request rule. Return a negative value in case of failure */
static int tcp_parse_request_rule(char **args, int arg, int section_type,
- struct proxy *curpx, struct proxy *defpx,
+ struct proxy *curpx, const struct proxy *defpx,
struct act_rule *rule, char **err,
unsigned int where, const char *file, int line)
{
* keyword.
*/
static int tcp_parse_tcp_rep(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
const char *ptr = NULL;
* keyword.
*/
static int tcp_parse_tcp_req(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
const char *ptr = NULL;
/* Parses the "tcp-check" proxy keyword */
static int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **errmsg)
{
struct tcpcheck_ruleset *rs = NULL;
/* Parses the "http-check" proxy keyword */
static int proxy_parse_httpcheck(char **args, int section, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **errmsg)
{
struct tcpcheck_ruleset *rs = NULL;
}
static int vars_max_size(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err, unsigned int *limit)
{
char *error;
}
static int vars_max_size_global(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return vars_max_size(args, section_type, curpx, defpx, file, line, err, &var_global_limit);
}
static int vars_max_size_proc(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return vars_max_size(args, section_type, curpx, defpx, file, line, err, &var_proc_limit);
}
static int vars_max_size_sess(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return vars_max_size(args, section_type, curpx, defpx, file, line, err, &var_sess_limit);
}
static int vars_max_size_txn(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return vars_max_size(args, section_type, curpx, defpx, file, line, err, &var_txn_limit);
}
static int vars_max_size_reqres(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return vars_max_size(args, section_type, curpx, defpx, file, line, err, &var_reqres_limit);
}
static int vars_max_size_check(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
return vars_max_size(args, section_type, curpx, defpx, file, line, err, &var_check_limit);
* configuration parameters parsing functions
*/
static int ha_wurfl_cfg_data_file(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
}
static int ha_wurfl_cfg_cache(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int ha_wurfl_cfg_engine_mode(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
// kept for backward conf file compat
}
static int ha_wurfl_cfg_information_list_separator(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
if (*(args[1]) == 0) {
}
static int ha_wurfl_cfg_information_list(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int argIdx = 1;
}
static int ha_wurfl_cfg_patch_file_list(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
int argIdx = 1;
}
static int ha_wurfl_cfg_useragent_priority(char **args, int section_type, struct proxy *curpx,
- struct proxy *defpx, const char *file, int line,
+ const struct proxy *defpx, const char *file, int line,
char **err)
{
// this feature is deprecated, keeping only not to break compatibility