Rudiments
file.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information
3 
4  protected:
5  virtual void openInternal(const char *name, int32_t flags,
6  mode_t perms, bool useperms);
7 
8  private:
9  static bool stat(const char *filename, void *st);
10 
11  off64_t lseek(off64_t offset, int32_t whence) const;
12  bool lock(int32_t method, int16_t type, int16_t whence,
13  off64_t start, off64_t len) const;
14  bool checkLock(int16_t type,
15  int16_t whence,
16  off64_t start,
17  off64_t len,
18  int16_t *conftype,
19  int16_t *confwhence,
20  off64_t *confstart,
21  off64_t *conflen) const;
22  bool unlock(int16_t whence,
23  off64_t start, off64_t len) const;
24 
25  bool setAttribute(const char *name,
26  const void *value,
27  size_t size,
28  int32_t flags) const;
29  const char * const *attributeArray(const char *buffer,
30  size_t size) const;
31 
32  void fileClone(const file &f);
33 
34 
35  bool posixFadvise(off64_t offset, off64_t len,
36  int32_t advice) const;
37  static int64_t pathConf(const char *path, int32_t name);
38  int64_t fpathConf(int32_t name) const;
39 
40  fileprivate *pvt;
Definition: file.h:21