xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdFfs
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
19
struct
XrdFfsDentnames
{
20
char
*
name
;
21
struct
XrdFfsDentnames
*
next
;
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
29
void
XrdFfsDent_cache_init
();
30
void
XrdFfsDent_cache_destroy
();
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
Generated by
1.8.1.2