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

Function write_json

modules/md/md_json.c:1048–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1046}
1047
1048static apr_status_t write_json(void *baton, apr_file_t *f, apr_pool_t *p)
1049{
1050 j_write_ctx *ctx = baton;
1051 apr_status_t rv = md_json_writef(ctx->json, p, ctx->fmt, f);
1052 if (APR_SUCCESS != rv) {
1053 md_log_perror(MD_LOG_MARK, MD_LOG_ERR, rv, p, "freplace json in %s", ctx->fname);
1054 }
1055 return rv;
1056}
1057
1058apr_status_t md_json_freplace(const md_json_t *json, apr_pool_t *p, md_json_fmt_t fmt,
1059 const char *fpath, apr_fileperms_t perms)

Callers

nothing calls this directly

Calls 2

md_json_writefFunction · 0.85
md_log_perrorFunction · 0.85

Tested by

no test coverage detected