Go to the source code of this file.
Typedefs | |
typedef int(*) | XrdOssStatInfo_t (const char *path, struct stat *buff, int opts, XrdOucEnv *envP) |
typedef int(*) | XrdOssStatInfo2_t (const char *path, struct stat *buff, int opts, XrdOucEnv *envP, const char *lfn) |
typedef XrdOssStatInfo_t(*) | XrdOssStatInfoInit_t (XrdOss *native_oss, XrdSysLogger *Logger, const char *config_fn, const char *parms) |
The typedef that describes the XRdOssStatInfoInit external. | |
typedef XrdOssStatInfo2_t(*) | XrdOssStatInfoInit2_t (XrdOss *native_oss, XrdSysLogger *Logger, const char *config_fn, const char *parms, XrdOucEnv *envP) |
typedef int(*) XrdOssStatInfo2_t(const char *path, struct stat *buff, int opts, XrdOucEnv *envP, const char *lfn) |
typedef int(*) XrdOssStatInfo_t(const char *path, struct stat *buff, int opts, XrdOucEnv *envP) |
Get file information.
path | -> the file path whose stat information is wanted. | |
buff | -> to the stat structure that is to be filled in with stat information the same way that stat() would have, | |
opts | A combination of XRDOSS_xxxx options. See XrdOss.hh. | |
envP | -> environment pointer which includes CGI information. This pointer is nil if no special environment exists. | |
lfn | -> the corresponding logical file name. This is only passed for version 2 calls (see XrdOssStatInfoInit2). |
Failure: a -1 with errno set to the correct err number value.
typedef XrdOssStatInfo2_t(*) XrdOssStatInfoInit2_t(XrdOss *native_oss, XrdSysLogger *Logger, const char *config_fn, const char *parms, XrdOucEnv *envP) |
typedef XrdOssStatInfo_t(*) XrdOssStatInfoInit_t(XrdOss *native_oss, XrdSysLogger *Logger, const char *config_fn, const char *parms) |
The typedef that describes the XRdOssStatInfoInit external.
include "XrdVersion.hh" XrdVERSIONINFO(XrdOssStatInfoInit,<name>);
where <name> is a 1- to 15-character unquoted name identifying your plugin.