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)  

checksum.hpp
Go to the documentation of this file.
1 
3 /* checksum.hpp - Extern global declaration for client API */
4 
5 #ifndef CHECKSUM_HPP_
6 #define CHECKSUM_HPP_
7 
8 #include <stdio.h>
9 #include <time.h>
10 #include <string.h>
11 #include "objInfo.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #define SHA256_CHKSUM_PREFIX "sha2:"
18 int verifyChksumLocFile( char *fileName, const char *myChksum, char *chksumStr );
19 
20 int
21 chksumLocFile( const char *fileName, char *chksumStr, const char* );
22 int
23 hashToStr( unsigned char *digest, char *digestStr );
24 int
25 rcChksumLocFile( char *fileName, char *chksumFlag, keyValPair_t *condInput, const char* );
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif /* CHECKSUM_HPP_ */
hashToStr
int hashToStr(unsigned char *digest, char *digestStr)
Definition: checksum.cpp:206
verifyChksumLocFile
int verifyChksumLocFile(char *fileName, const char *myChksum, char *chksumStr)
Definition: checksum.cpp:178
chksumLocFile
int chksumLocFile(const char *fileName, char *chksumStr, const char *)
Definition: checksum.cpp:18
objInfo.h
rcChksumLocFile
int rcChksumLocFile(char *fileName, char *chksumFlag, keyValPair_t *condInput, const char *)
Definition: checksum.cpp:228
KeyValPair
Definition: objInfo.h:120