xrootd
XrdFfsWcache.hh
Go to the documentation of this file.
1 /******************************************************************************/
2 /* XrdFfsWcache.hh simple write cache that captures consecutive small writes */
3 /* */
4 /* (c) 2010 by the Board of Trustees of the Leland Stanford, Jr., University */
5 /* All Rights Reserved */
6 /* Author: Wei Yang (SLAC National Accelerator Laboratory, 2009) */
7 /* Contract DE-AC02-76-SFO0515 with the Department of Energy */
8 /******************************************************************************/
9 
10 #ifdef __cplusplus
11  extern "C" {
12 #endif
13 
14 void XrdFfsWcache_init();
15 int XrdFfsWcache_create(int fd);
16 void XrdFfsWcache_destroy(int fd);
17 ssize_t XrdFfsWcache_flush(int fd);
18 ssize_t XrdFfsWcache_pwrite(int fd, char *buf, size_t len, off_t offset);
19 
20 #ifdef __cplusplus
21  }
22 #endif