Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/gonzo.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 1991-2008, 2011, 2012 Peter Miller
00004 //
00005 //      This program is free software; you can redistribute it and/or modify
00006 //      it under the terms of the GNU General Public License as published by
00007 //      the Free Software Foundation; either version 3 of the License, or
00008 //      (at your option) any later version.
00009 //
00010 //      This program is distributed in the hope that it will be useful,
00011 //      but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 //      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 //      GNU General Public License for more details.
00014 //
00015 //      You should have received a copy of the GNU General Public License
00016 //      along with this program. If not, see
00017 //      <http://www.gnu.org/licenses/>.
00018 //
00019 
00020 #ifndef GONZO_H
00021 #define GONZO_H
00022 
00023 #include <libaegis/gstate.fmtgen.h>
00024 
00025 class nstring; // forward
00026 class nstring_list; // forward
00027 class project; // forward
00028 class string_list_ty; // forward
00029 
00030 void gonzo_gstate_write(void);
00031 
00032 void gonzo_library_append(const char *path);
00033 
00034 struct string_ty *gonzo_project_home_path_from_name(struct string_ty *);
00035 void gonzo_project_list(struct string_list_ty *result);
00036 void gonzo_project_list_user(const nstring &, nstring_list &result);
00037 void gonzo_project_add(struct project *);
00038 void gonzo_project_delete(struct project *);
00039 void gonzo_gstate_write(void);
00040 void gonzo_gstate_lock_prepare_new(void);
00041 
00042 string_ty *gonzo_lockpath_get(void);
00043 nstring gonzo_ustate_path(const nstring &project_name,
00044     const nstring &user_name);
00045 
00046 void gonzo_become(void);
00047 void gonzo_become_undo(void);
00048 
00049 void gonzo_report_path(struct string_list_ty *);
00050 
00051 void gonzo_alias_add(struct project *, string_ty *);
00052 void gonzo_alias_delete(string_ty *);
00053 void gonzo_alias_list(struct string_list_ty *);
00054 struct string_ty *gonzo_alias_to_actual(string_ty *);
00055 int gonzo_alias_acceptable(string_ty *);
00056 
00057 #endif // GONZO_H
00058 // vim: set ts=8 sw=4 et :