|
XRootD
|
#include <cstdio>#include <cstdlib>#include <cstring>#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <fcntl.h>#include <cerrno>#include <zlib.h>#include "XrdPosix/XrdPosixXrootd.hh"#include "XrdPosix/XrdPosixXrootdPath.hh"#include "XrdOuc/XrdOucString.hh"#include "XrdCks/XrdCksXAttr.hh"#include "XrdOuc/XrdOucXAttr.hh"
Include dependency graph for Xrdadler32.cc:Go to the source code of this file.
Macros | |
| #define | _FILE_OFFSET_BITS 64 |
| #define | N 1024*1024 /* reading block size */ |
Functions | |
| int | fGetXattrAdler32 (const char *path, int fd, const char *attr, char *value) |
| int | fGetXattrAdler32 (int fd, const char *attr, char *value) |
| void | fSetXattrAdler32 (const char *path, int fd, const char *attr, char *value) |
| char | getchksum (const char *rooturl, char *chksum) |
| int | main (int argc, char *argv[]) |
| #define _FILE_OFFSET_BITS 64 |
Definition at line 36 of file Xrdadler32.cc.
| #define N 1024*1024 /* reading block size */ |
Definition at line 160 of file Xrdadler32.cc.
| int fGetXattrAdler32 | ( | const char * | path, |
| int | fd, | ||
| const char * | attr, | ||
| char * | value | ||
| ) |
Definition at line 118 of file Xrdadler32.cc.
References fGetXattrAdler32(), fSetXattrAdler32(), fstat, stat, and xCS.
Here is the call graph for this function:| int fGetXattrAdler32 | ( | int | fd, |
| const char * | attr, | ||
| char * | value | ||
| ) |
Definition at line 84 of file Xrdadler32.cc.
References close, fstat, read, and stat.
Referenced by fGetXattrAdler32(), and main().
Here is the caller graph for this function:| void fSetXattrAdler32 | ( | const char * | path, |
| int | fd, | ||
| const char * | attr, | ||
| char * | value | ||
| ) |
Definition at line 58 of file Xrdadler32.cc.
References XrdOucXAttr< T >::Attr, close, fstat, stat, and xCS.
Referenced by fGetXattrAdler32(), and main().
Here is the caller graph for this function:| char getchksum | ( | const char * | rooturl, |
| char * | chksum | ||
| ) |
Definition at line 138 of file Xrdadler32.cc.
References XrdPosixXrootd::Getxattr().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
!! TO DO: Remove testing of totbytes once XrdClEC read regression is fixed
Definition at line 162 of file Xrdadler32.cc.
References close, XrdPosixXrootd::Close(), fGetXattrAdler32(), fSetXattrAdler32(), fstat, getchksum(), N, open, XrdPosixXrootd::Open(), read, XrdPosixXrootd::Read(), stat, XrdPosixXrootd::Stat(), and XrdPosixXrootPath::URL().
Here is the call graph for this function: