1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/*
* DCAP - dCache Access Protocol client interface
*
* Copyright (C) 2000,2004 DESY Hamburg DMG-Division.
*
* AUTHOR: Tigran Mkrtchayn (tigran.mkrtchyan@desy.de)
*
* This program can be distributed under the terms of the GNU LGPL.
* See the file COPYING.LIB
*
*/
/*
* $Id: dcap_url.h,v 1.5 2004-11-01 19:33:29 tigran Exp $
*/
#ifndef DCAP_URL_H
#define DCAP_URL_H
#define URL_NONE 0
#define URL_DCAP 1
#define URL_PNFS 2
typedef struct {
char *host;
char *file;
int type;
char *prefix;
} dcap_url;
extern dcap_url *dc_getURL(const char *);
extern char *url2config( char *, size_t, dcap_url *);
extern int isUrl(const char *);
#endif /* DCAP_URL_H */
|