~ubuntu-branches/ubuntu/vivid/esorex/vivid-proposed

« back to all changes in this revision

Viewing changes to src/er_fileutils.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2011-11-25 12:08:00 UTC
  • Revision ID: package-import@ubuntu.com-20111125120800-hb8qatpoxkhv0fne
Tags: upstream-3.9.0
ImportĀ upstreamĀ versionĀ 3.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: er_fileutils.h,v 1.10 2009/01/28 15:14:05 cgarcia Exp $
 
2
 *
 
3
 *   This file is part of the ESO Common Pipeline Library
 
4
 *   Copyright (C) 2001-2006 European Southern Observatory
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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
 
19
 */
 
20
 
 
21
/*
 
22
 * $Author: cgarcia $
 
23
 * $Date: 2009/01/28 15:14:05 $
 
24
 * $Revision: 1.10 $
 
25
 * $Name: esorex-3_9_0 $
 
26
 */
 
27
 
 
28
 
 
29
#ifndef EP_FILEUTILS_H
 
30
#define EP_FILEUTILS_H
 
31
 
 
32
 
 
33
CPL_BEGIN_DECLS
 
34
 
 
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);
 
47
 
 
48
 
 
49
#define  FILEMAX 4096
 
50
 
 
51
 
 
52
CPL_END_DECLS
 
53
 
 
54
#endif /* EP_FILEUTILS_H */
 
55
 
 
56
 
 
57
 
 
58
 
 
59
/* End of file */