ftwin 0.8.10
ft_report_json.c File Reference

JSON-based duplicate reporting functions. More...

#include "ft_report_json.h"
#include <stdio.h>
#include <string.h>
#include <apr_strings.h>
#include <apr_file_io.h>
#include <apr_time.h>
#include <jansson.h>
#include "config.h"
#include "debug.h"
#include "ft_archive.h"
#include "ft_config.h"
#include "ft_file.h"
#include "ft_report.h"
#include "napr_hash.h"
#include "napr_heap.h"
Include dependency graph for ft_report_json.c:

Go to the source code of this file.

Functions

apr_status_t ft_report_json (ft_conf_t *conf)
 Reports duplicate files in JSON format to stdout.
 

Detailed Description

JSON-based duplicate reporting functions.

Definition in file ft_report_json.c.

Function Documentation

◆ ft_report_json()

apr_status_t ft_report_json ( ft_conf_t conf)

Reports duplicate files in JSON format to stdout.

Parameters
confThe configuration structure containing file information.
Returns
APR_SUCCESS on success, or an error code.

Definition at line 78 of file ft_report_json.c.

References DEBUG_ERR, filecmp(), ft_chksum_cmp(), napr_hash_search(), and napr_heap_extract().

Referenced by ftwin_main().

Here is the call graph for this function:
Here is the caller graph for this function: