|
xrootd
|
#include "XrdClient/XrdClientAdmin.hh"#include "XrdClient/XrdClientDebug.hh"#include "XrdClient/XrdClientVector.hh"#include "XrdOuc/XrdOucString.hh"#include <rpc/types.h>#include <stdlib.h>#include <stdio.h>
Functions | |
| void | SharedBufRealloc (long size) |
| void | SharedBufFree () |
| vecString * | Tokenize (const char *str, char sep) |
| void | BuildBoolAnswer (vecBool &vb) |
| bool | XrdInitialize (const char *url, const char *EnvValues) |
| bool | XrdTerminate () |
| char * | XrdSysStatX (const char *paths_list) |
| char * | XrdExistFiles (const char *filepaths) |
| char * | XrdExistDirs (const char *filepaths) |
| char * | XrdIsFileOnline (const char *filepaths) |
| bool | XrdMv (const char *fileSrc, const char *fileDest) |
| bool | XrdMkdir (const char *dir, int user, int group, int other) |
| bool | XrdChmod (const char *file, int user, int group, int other) |
| bool | XrdRm (const char *file) |
| bool | XrdRmdir (const char *path) |
| bool | XrdPrepare (const char *filepaths, unsigned char opts, unsigned char prty) |
| char * | XrdDirList (const char *dir) |
| char * | XrdGetChecksum (const char *path) |
| char * | XrdGetCurrentHost () |
| bool | XrdStat (const char *fname, long *id, long long *size, long *flags, long *modtime) |
Variables | |
| const char * | XrdClientAdmin_cCVSID = "$Id$" |
| char * | sharedbuf |
| XrdClientAdmin * | adminst = NULL |
| void BuildBoolAnswer | ( | vecBool & | vb | ) |
References SharedBufRealloc(), XrdClientVector::GetSize(), and sharedbuf.
Referenced by XrdExistFiles(), XrdExistDirs(), and XrdIsFileOnline().
| void SharedBufFree | ( | ) |
References sharedbuf.
Referenced by XrdTerminate().
| void SharedBufRealloc | ( | long | size | ) |
References sharedbuf.
Referenced by BuildBoolAnswer(), XrdSysStatX(), XrdExistFiles(), XrdExistDirs(), XrdIsFileOnline(), XrdDirList(), XrdGetChecksum(), and XrdGetCurrentHost().
| vecString* Tokenize | ( | const char * | str, |
| char | sep | ||
| ) |
References XrdOucString::tokenize(), STR_NPOS, XrdOucString::length(), and XrdClientVector::Push_back().
Referenced by XrdInitialize(), XrdSysStatX(), XrdExistFiles(), XrdExistDirs(), XrdIsFileOnline(), and XrdPrepare().
| bool XrdChmod | ( | const char * | file, |
| int | user, | ||
| int | group, | ||
| int | other | ||
| ) |
References adminst, and XrdClientAdmin::Chmod().
Referenced by XS().
| char* XrdDirList | ( | const char * | dir | ) |
References XrdClientAdmin::DirList(), joinStrings(), SharedBufRealloc(), XrdOucString::length(), sharedbuf, and XrdOucString::c_str().
Referenced by XS().
| char* XrdExistDirs | ( | const char * | filepaths | ) |
References FALSE, Tokenize(), XrdClientAdmin::ExistDirs(), BuildBoolAnswer(), SharedBufRealloc(), and sharedbuf.
Referenced by XS().
| char* XrdExistFiles | ( | const char * | filepaths | ) |
References FALSE, Tokenize(), XrdClientAdmin::ExistFiles(), BuildBoolAnswer(), SharedBufRealloc(), and sharedbuf.
Referenced by XS().
| char* XrdGetChecksum | ( | const char * | path | ) |
References XrdClientAdmin::GetChecksum(), SharedBufRealloc(), and sharedbuf.
Referenced by XS().
| char* XrdGetCurrentHost | ( | ) |
References XrdClientAbs::GetCurrentUrl(), XrdClientUrlInfo::Host, XrdOucString::length(), SharedBufRealloc(), sharedbuf, and XrdOucString::c_str().
Referenced by XS().
| bool XrdInitialize | ( | const char * | url, |
| const char * | EnvValues | ||
| ) |
References Tokenize(), XrdClientVector::GetSize(), EnvPutInt, EnvPutString, DebugSetLevel, EnvGetLong, NAME_DEBUG, XrdClientAdmin::Connect(), adminst, and sharedbuf.
Referenced by XS().
| char* XrdIsFileOnline | ( | const char * | filepaths | ) |
References FALSE, Tokenize(), XrdClientAdmin::IsFileOnline(), BuildBoolAnswer(), SharedBufRealloc(), and sharedbuf.
Referenced by XS().
| bool XrdMkdir | ( | const char * | dir, |
| int | user, | ||
| int | group, | ||
| int | other | ||
| ) |
References adminst, and XrdClientAdmin::Mkdir().
Referenced by XS().
| bool XrdMv | ( | const char * | fileSrc, |
| const char * | fileDest | ||
| ) |
References adminst, and XrdClientAdmin::Mv().
Referenced by XS().
| bool XrdPrepare | ( | const char * | filepaths, |
| unsigned char | opts, | ||
| unsigned char | prty | ||
| ) |
References adminst, Tokenize(), and XrdClientAdmin::Prepare().
Referenced by XS().
| bool XrdRm | ( | const char * | file | ) |
References adminst, and XrdClientAdmin::Rm().
Referenced by XS().
| bool XrdRmdir | ( | const char * | path | ) |
References adminst, and XrdClientAdmin::Rmdir().
Referenced by XS().
| bool XrdStat | ( | const char * | fname, |
| long * | id, | ||
| long long * | size, | ||
| long * | flags, | ||
| long * | modtime | ||
| ) |
References XrdClientAdmin::Stat().
Referenced by XS().
| char* XrdSysStatX | ( | const char * | paths_list | ) |
References Tokenize(), SharedBufRealloc(), XrdClientVector::GetSize(), XrdClientAdmin::SysStatX(), and sharedbuf.
Referenced by XS().
| bool XrdTerminate | ( | ) |
References adminst, SharedBufFree(), and TRUE.
Referenced by XS().
| XrdClientAdmin* adminst = NULL |
Referenced by XrdInitialize(), XrdTerminate(), XrdMv(), XrdMkdir(), XrdChmod(), XrdRm(), XrdRmdir(), and XrdPrepare().
| char* sharedbuf |
| const char* XrdClientAdmin_cCVSID = "$Id$" |
1.7.5