Main Page | Data Structures | File List | Data Fields | Globals

iotypes.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) Members of the EGEE Collaboration. 2004.
00003  *  See http://eu-egee.org/partners/ for details on the copyright holders.
00004  *  For license conditions see the license file or http://eu-egee.org/license.html
00005  *
00006  *  GLite Data IO Client module: IO Types
00007  *
00008  *  Authors: Paolo Badino <paolo.badino@cern.ch>
00009  *  Version info: $Id: iotypes.h,v 1.6 2004/11/03 16:17:35 badino Exp $
00010  *  Release: $Name: glite-data-io-client_R_1_5_2 $
00011  *
00012  */
00013 
00014 #ifndef GLITE_DATA_IO_CLIENT_IOTYPES_H_
00015 #define GLITE_DATA_IO_CLIENT_IOTYPES_H_
00016 
00017 #include <time.h>
00018 
00023 typedef int       glite_int32;
00024 typedef long long glite_int64; 
00025 typedef void *    glite_handle;
00026 typedef int       glite_result;
00027 typedef time_t    glite_time_t;
00028 
00029 #define GLITE_NULL_HANDLE   0
00030 
00031 #define GLITE_LFN_LENGTH    1024
00032 #define GLITE_SURL_LENGTH   2048
00033 #define GLITE_GUID_LENGTH   37
00034 #define GLITE_NAME_LENGTH   1024
00035 
00042 struct glite_stat {
00046     glite_int32  dev;
00050     glite_int64  ino;
00054     glite_int32  mode;
00058     glite_int32  nlink;
00062     glite_int32  uid;
00066     glite_int32  gid;
00070     glite_int32  rdev;
00074     glite_int64  size;
00078     glite_int32  blksize;
00082     glite_int64  blocks;
00086     glite_time_t atime;
00090     glite_time_t mtime;
00094     glite_time_t ctime;
00098     char guid[GLITE_GUID_LENGTH];
00102     char lfn[GLITE_LFN_LENGTH];
00106     char surl[GLITE_SURL_LENGTH];
00110     char owner[GLITE_NAME_LENGTH];
00114     char group[GLITE_NAME_LENGTH];
00115 };
00116 
00117 #endif //GLITE_DATA_IO_CLIENT_IOTYPES_H_
The GLite Project. All rights reserved.