Back to index

nordugrid-arc-nox  1.1.0~rc6
FileUtils.h
Go to the documentation of this file.
00001 #include <sys/types.h>
00002 #include <unistd.h>
00003 #include <glibmm.h>
00004 
00005 namespace Arc {
00006 
00007 int FileOpen(const char* path,int flags,mode_t mode);
00008 int FileOpen(const char* path,int flags,uid_t uid,gid_t gid,mode_t mode);
00009 Glib::Dir* DirOpen(const char* path);
00010 Glib::Dir* DirOpen(const char* path,uid_t uid,gid_t gid);
00011 bool FileStat(const char* path,struct stat *st,bool follow_symlinks);
00012 bool FileStat(const char* path,struct stat *st,uid_t uid,gid_t gid,bool follow_symlinks);
00013 bool DirCreate(const char* path,mode_t mode);
00014 bool DirCreate(const char* path,uid_t uid,gid_t gid,mode_t mode);
00015 
00016 } // namespace Arc
00017