Rudiments
|
00001 // Copyright (c) 2004 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_LINK_H 00005 #define RUDIMENTS_LINK_H 00006 00007 #include <rudiments/private/link.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 class linkprivate; 00014 00015 // like file class, but some methods operate on the link instead of the 00016 // file the link points to 00017 00018 // wrap: 00019 // unistd.h - lchown() 00020 // sys/stat.h - lstat(),lchmod(), 00021 // sys/xattr.h - lsetxattr(),lgetxattr(),llistxattr(),lremovexattr() 00022 class RUDIMENTS_DLLSPEC link : public file { 00023 public: 00024 00025 #include <rudiments/private/link.h> 00026 }; 00027 00028 #ifdef RUDIMENTS_NAMESPACE 00029 } 00030 #endif 00031 00032 #endif