Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/project/file.h
Go to the documentation of this file.
00001 //
00002 // aegis - project change supervisor
00003 // Copyright (C) 1995-1997, 2002, 2003, 2005-2008, 2011, 2012 Peter Miller
00004 // Copyright (C) 2006 Walter Franzini
00005 //
00006 // This program is free software; you can redistribute it and/or modify
00007 // it under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 3 of the License, or (at
00009 // your option) any later version.
00010 //
00011 // This program is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU General Public License
00017 // along with this program. If not, see <http://www.gnu.org/licenses/>.
00018 //
00019 
00020 #ifndef AEGIS_PROJECT_FILE_H
00021 #define AEGIS_PROJECT_FILE_H
00022 
00023 #include <libaegis/fstate.fmtgen.h>
00024 #include <libaegis/project.h>
00025 #include <libaegis/view_path.h>
00026 
00027 struct cstate_src_ty; // forward
00028 
00044 string_ty *project_file_path(project *pp, string_ty *file_name);
00045 
00061 string_ty *project_file_path(project *pp, fstate_src_ty *src);
00062 
00078 string_ty *project_file_path(project *pp, cstate_src_ty *src);
00079 
00095 string_ty *project_file_path_by_uuid(project *pp, string_ty *uuid);
00096 
00097 string_ty *project_file_directory_conflict(project *, string_ty *);
00098 
00099 void project_file_remove(project *, string_ty *);
00100 
00101 void project_file_shallow(project *, string_ty *, long);
00102 int project_file_shallow_check(project *, string_ty *);
00103 string_ty *project_file_version_path(project *, fstate_src_ty *, int *);
00104 
00105 #endif // AEGIS_PROJECT_FILE_H
00106 // vim: set ts=8 sw=4 et :