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

Function md_timeslice_create

modules/md/md_time.c:235–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235apr_status_t md_timeslice_create(md_timeslice_t **pts, apr_pool_t *p,
236 apr_interval_time_t norm, apr_interval_time_t len)
237{
238 md_timeslice_t *ts;
239
240 ts = apr_pcalloc(p, sizeof(*ts));
241 ts->norm = norm;
242 ts->len = len;
243 *pts = ts;
244 return APR_SUCCESS;
245}
246
247const char *md_timeslice_parse(md_timeslice_t **pts, apr_pool_t *p,
248 const char *val, apr_interval_time_t norm)

Callers 1

md_reg_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected