00001 #ifndef _XRDOSSCOPY_H_ 00002 #define _XRDOSSCOPY_H_ 00003 /******************************************************************************/ 00004 /* */ 00005 /* X r d O s s C o p y */ 00006 /* */ 00007 /* (c) 2009 by the Board of Trustees of the Leland Stanford, Jr., University */ 00008 /* All Rights Reserved */ 00009 /* Produced by Andrew Hanushevsky for Stanford University under contract */ 00010 /* DE-AC02-76-SFO0515 with the Department of Energy */ 00011 /******************************************************************************/ 00012 00013 // $Id: XrdOssCopy.hh 28902 2009-06-11 12:36:21Z ganis $ 00014 00015 class XrdOssCopy 00016 { 00017 public: 00018 00019 static off_t Copy(const char *inFn, const char *outFn, int outFD); 00020 00021 XrdOssCopy() {} 00022 ~XrdOssCopy() {} 00023 00024 private: 00025 static int Write(const char *, int, char *, size_t, off_t); 00026 }; 00027 #endif