Ejemplo n.º 1
0
enum http_rc_e
action_cache_set_ttl_high (struct req_args_s *args)
{
	hc_resolver_set_ttl_csm0 (resolver, atoi (TOK ("COUNT")));
	return _reply_success_json (args, NULL);
}
Ejemplo n.º 2
0
static enum http_rc_e
action_cache_set_ttl_high (const struct cache_args_s *args)
{
    hc_resolver_set_ttl_csm0 (resolver, args->count);
    return _reply_success_json (args->rp, NULL);
}