| 1046 | } |
| 1047 | |
| 1048 | static 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 | |
| 1058 | apr_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) |
nothing calls this directly
no test coverage detected