xrootd
XrdFfsDent.hh
Go to the documentation of this file.
1 /******************************************************************************/
2 /* XrdFfsDent.hh help functions to merge direntries */
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 #include <string.h>
11 #include <stdlib.h>
12 #include <time.h>
13 #include <pthread.h>
14 
15 #ifdef __cplusplus
16  extern "C" {
17 #endif
18 
20  char *name;
22 };
23 
24 void XrdFfsDent_names_del(struct XrdFfsDentnames **p);
25 void XrdFfsDent_names_add(struct XrdFfsDentnames **p, char *name);
26 void XrdFfsDent_names_join(struct XrdFfsDentnames **p, struct XrdFfsDentnames **n);
27 int XrdFfsDent_names_extract(struct XrdFfsDentnames **p, char ***dnarray);
28 
31 int XrdFfsDent_cache_fill(char *dname, char ***dnarray, int nents);
32 int XrdFfsDent_cache_search(char *dname, char *dentname);
33 
34 #ifdef __cplusplus
35  }
36 #endif
37 
38