xrootd
XrdFfsMisc.hh
Go to the documentation of this file.
1 /******************************************************************************/
2 /* XrdFfsMisc.hh Miscellanies functions */
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 #define XrdFfs_MAX_NUM_NODES 4096 /* 64*64 max number of data nodes in a cluster */
15 
16 char XrdFfsMisc_get_current_url(const char *oldurl, char *newurl);
17 int XrdFfsMisc_get_all_urls(const char *oldurl, char **newurls, const int nnodes);
20 void XrdFfsMisc_refresh_url_cache(const char* url);
21 void XrdFfsMisc_logging_url_cache(const char* url);
22 
23 void XrdFfsMisc_xrd_init(const char *rdrurl, const char *urlcachelife, int startQueue);
24 
26 void XrdFfsMisc_xrd_secsss_register(uid_t user_uid, gid_t user_gid);
27 void XrdFfsMisc_xrd_secsss_editurl(char *url, uid_t user_uid);
28 
29 #ifdef __cplusplus
30  }
31 #endif