irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fsckUtil.h File Reference
#include "rodsClient.h"
#include "parseCommandLine.h"
#include "rodsPath.h"
Include dependency graph for fsckUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* SetGenQueryInpFromPhysicalPath) (genQueryInp_t *out, const char *physical_path, const char *generic_function_argument)
 

Functions

int fsckObj (rcComm_t *conn, rodsArguments_t *myRodsArgs, rodsPathInp_t *rodsPathInp, SetGenQueryInpFromPhysicalPath, const char *argument_for_SetGenQueryInpFromPhysicalPath)
 
int fsckObjDir (rcComm_t *conn, rodsArguments_t *myRodsArgs, char *inpPath, SetGenQueryInpFromPhysicalPath, const char *argument_for_SetGenQueryInpFromPhysicalPath)
 
int chkObjConsistency (rcComm_t *conn, rodsArguments_t *myRodsArgs, char *inpPath, SetGenQueryInpFromPhysicalPath, const char *argument_for_SetGenQueryInpFromPhysicalPath)
 

Typedef Documentation

◆ SetGenQueryInpFromPhysicalPath

typedef int(* SetGenQueryInpFromPhysicalPath) (genQueryInp_t *out, const char *physical_path, const char *generic_function_argument)

Definition at line 16 of file fsckUtil.h.

Function Documentation

◆ chkObjConsistency()

int chkObjConsistency ( rcComm_t conn,
rodsArguments_t myRodsArgs,
char *  inpPath,
SetGenQueryInpFromPhysicalPath  ,
const char *  argument_for_SetGenQueryInpFromPhysicalPath 
)

Definition at line 112 of file fsckUtil.cpp.

References clearGenQueryInp(), terminate_irods_processes::e, freeGenQueryOut(), NULL, pid_age::p, rcGenQuery(), GenQueryOut::sqlResult, irods.pypyodbc::status, SYS_INTERNAL_ERR, True, USER_CHKSUM_MISMATCH, SqlResult::value, rodsArguments_t::verifyChecksum, and verifyChksumLocFile().

Referenced by fsckObjDir().

Here is the call graph for this function:

◆ fsckObj()

int fsckObj ( rcComm_t conn,
rodsArguments_t myRodsArgs,
rodsPathInp_t rodsPathInp,
SetGenQueryInpFromPhysicalPath  ,
const char *  argument_for_SetGenQueryInpFromPhysicalPath 
)

Definition at line 23 of file fsckUtil.cpp.

References checkIsMount(), irods::experimental::administration::client::v1::exists(), fsckObjDir(), LOG_ERROR, MAX_PATH_ALLOWED, RodsPathInp::numSrc, RodsPath::outPath, pid_age::p, rodsLog(), RodsPathInp::srcPath, irods.pypyodbc::status, USER_INPUT_PATH_ERR, and USER_STRLEN_TOOLONG.

Here is the call graph for this function:

◆ fsckObjDir()

int fsckObjDir ( rcComm_t conn,
rodsArguments_t myRodsArgs,
char *  inpPath,
SetGenQueryInpFromPhysicalPath  ,
const char *  argument_for_SetGenQueryInpFromPhysicalPath 
)

Definition at line 71 of file fsckUtil.cpp.

References chkObjConsistency(), MAX_PATH_ALLOWED, rodsArguments_t::recursive, irods.pypyodbc::status, and True.

Referenced by fsckObj().

Here is the call graph for this function: