MCPcopy Create free account
hub / github.com/apache/httpd / set_on_off

Function set_on_off

modules/md/mod_md_config.c:344–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344static const char *set_on_off(int *pvalue, const char *s, apr_pool_t *p)
345{
346 if (!apr_cstr_casecmp("off", s)) {
347 *pvalue = 0;
348 }
349 else if (!apr_cstr_casecmp("on", s)) {
350 *pvalue = 1;
351 }
352 else {
353 return apr_pstrcat(p, "unknown '", s,
354 "', supported parameter values are 'on' and 'off'", NULL);
355 }
356 return NULL;
357}
358
359
360static void add_domain_name(apr_array_header_t *domains, const char *name, apr_pool_t *p)

Calls

no outgoing calls

Tested by

no test coverage detected