File: dpm_util.h

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (24 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * $Id: dpm_util.h,v 1.5 2009/11/13 10:03:12 dhsmith Exp $
 */

/*
 * Copyright (C) 2004-2007 by CERN/IT/GD/CT
 * All rights reserved
 */

/*
 * @(#)$RCSfile: dpm_util.h,v $ $Revision: 1.5 $ $Date: 2009/11/13 10:03:12 $ CERN IT-GD/CT Jean-Philippe Baud
 */

#ifndef _DPM_UTIL_H
#define _DPM_UTIL_H
int build_proxy_filename(char *, char *);
int get_req_retention_time(time_t *);
int get_supported_protocols (char ***);
int is_surl_local (char *surl);
char *pfnfromturl (char *turl);
char *sfnfromsurl (char *surl);
char *status2str (int status, char *buf);
const char *csumtype2srmname (const char *csumtype);
#endif