[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FileCatalog Interface



Dear GcDevers.
Here is the latest version of the interface which Luis and I have been
using as a basis for the StarFC <-> StacsFileIndex interface.
david

> rmds03 % cat fileCat.idl
> // fileCat.idl
> // Luis Bernardo <LMBernardo@lbl.gov>, Alex Sim <ASim@lbl.gov>
> // Lawrence Berkeley National Laboratory
> // May 99
>
> #include "smDefs.idl"
> #include "queryM.idl"
>
> struct FileInfo {
>         FID_T fid;
>         unsigned long fileSize;
>         string localFileName;
>         string remoteFileName;
>         string tapeID;
> };
>
> typedef FileInfo FILEINFO_T;
>
> interface fcFileCatalog {
>         unsigned long getFileSize(in FID_T fid);
>         unsigned long getSumFileSizes(in FIDSET_T fset);
>         FSIZE_SET_T getListFileSizes(in FIDSET_T fset);
>         FILEINFO_T getFileInfo(in FID_T fid);
> };
>


-- BEGIN included message




David,
I think we changed the interface a bit (added a new function).
Luis


rmds03 % cat fileCat.idl 
// fileCat.idl
// Luis Bernardo <LMBernardo@lbl.gov>, Alex Sim <ASim@lbl.gov>
// Lawrence Berkeley National Laboratory
// May 99

#include "smDefs.idl"
#include "queryM.idl"

struct FileInfo {
        FID_T fid;
        unsigned long fileSize;
        string localFileName;
        string remoteFileName;
        string tapeID;
};

typedef FileInfo FILEINFO_T;

interface fcFileCatalog {
        unsigned long getFileSize(in FID_T fid);
        unsigned long getSumFileSizes(in FIDSET_T fset);
        FSIZE_SET_T getListFileSizes(in FIDSET_T fset);
        FILEINFO_T getFileInfo(in FID_T fid);
};


 

-- END included message