00001 // This file is part of BOINC. 00002 // http://boinc.berkeley.edu 00003 // Copyright (C) 2008 University of California 00004 // 00005 // BOINC is free software; you can redistribute it and/or modify it 00006 // under the terms of the GNU Lesser General Public License 00007 // as published by the Free Software Foundation, 00008 // either version 3 of the License, or (at your option) any later version. 00009 // 00010 // BOINC 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. 00013 // See the GNU Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public License 00016 // along with BOINC. If not, see <http://www.gnu.org/licenses/>. 00017 00018 extern void kill_via_switcher(int pid); 00019 extern int get_project_gid(); 00020 extern int set_to_project_group(const char* path); 00021 extern int switcher_exec(const char* util_filename, const char* cmdline); 00022 extern int client_clean_out_dir(const char*); 00023 extern int delete_project_owned_file(const char* path, bool retry); 00024 extern int remove_project_owned_dir(const char* name); 00025 extern int check_security(int use_sandbox, int isManager); 00026 00027 #define BOINC_PROJECT_GROUP_NAME "boinc_project" 00028 00029 extern bool g_use_sandbox;
1.5.6