Rudiments
link.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_LINK_H
5 #define RUDIMENTS_LINK_H
6 
7 #include <rudiments/private/link.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 class linkprivate;
14 
15 // like file class, but some methods operate on the link instead of the
16 // file the link points to
17 
18 // wrap:
19 // unistd.h - lchown()
20 // sys/stat.h - lstat(),lchmod(),
21 // sys/xattr.h - lsetxattr(),lgetxattr(),llistxattr(),lremovexattr()
22 class RUDIMENTS_DLLSPEC link : public file {
23  public:
24 
25  #include <rudiments/private/link.h>
26 };
27 
28 #ifdef RUDIMENTS_NAMESPACE
29 }
30 #endif
31 
32 #endif