1
/* $Id: er_fileutils.h,v 1.10 2009/01/28 15:14:05 cgarcia Exp $
3
* This file is part of the ESO Common Pipeline Library
4
* Copyright (C) 2001-2006 European Southern Observatory
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
* $Date: 2009/01/28 15:14:05 $
25
* $Name: esorex-3_9_0 $
29
#ifndef EP_FILEUTILS_H
30
#define EP_FILEUTILS_H
35
const char *er_fileutils_tilde_replace ( const char * );
36
const char * er_fileutils_dot_replace ( const char *name );
37
int fileutils_directory_exists(const char *);
38
int fileutils_file_exists(const char *);
39
int fileutils_file_is_there(const char *);
40
char *fileutils_create_fqfname(char *, char *);
41
char *fileutils_fqfname_filename(const char *);
42
char *fileutils_fqfname_dirname(const char *);
43
int fileutils_copy(const char *, const char *);
44
int fileutils_move(const char *, const char *);
45
int er_fileutils_link(const char *, const char *);
46
int er_fileutils_file_is_fits(const char * self);
54
#endif /* EP_FILEUTILS_H */