Skip to content
Snippets Groups Projects
Select Git revision
  • 2cea35626f9e88b55b933b5af35ff87e9f80e491
  • master default protected
2 results

pykat_output.kat

Blame
  • app.cpp 27.40 KiB
    // This file is part of BOINC.
    // http://boinc.berkeley.edu
    // Copyright (C) 2008 University of California
    //
    // BOINC is free software; you can redistribute it and/or modify it
    // under the terms of the GNU Lesser General Public License
    // as published by the Free Software Foundation,
    // either version 3 of the License, or (at your option) any later version.
    //
    // BOINC is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    // See the GNU Lesser General Public License for more details.
    //
    // You should have received a copy of the GNU Lesser General Public License
    // along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
    
    // Abstraction of a set of executing applications,
    // connected to I/O files in various ways.
    // Shouldn't depend on CLIENT_STATE.
    
    #include "cpp.h"
    
    #ifdef _WIN32
    #include "boinc_win.h"
    #else 
    #include "config.h"
    #endif
    
    #ifndef _WIN32
    
    #include <unistd.h>
    #if HAVE_SYS_WAIT_H
    #include <sys/wait.h>
    #endif
    #if HAVE_SYS_TIME_H
    #include <sys/time.h>
    #endif
    #if HAVE_SYS_RESOURCE_H
    #include <sys/resource.h>
    #endif
    #if HAVE_SYS_TYPES_H
    #include <sys/types.h>
    #endif
    #if HAVE_FCNTL_H
    #include <fcntl.h>
    #endif
    
    #include <cctype>
    #include <ctime>
    #include <cstdio>
    #include <cmath>
    #include <cstdlib>
    
    #endif
    
    #ifdef SIM
    #include "sim.h"
    #else
    #include "client_state.h"
    #include "client_types.h"
    #endif
    
    #include "error_numbers.h"
    #include "filesys.h"
    #include "file_names.h"
    #include "parse.h"
    #include "shmem.h"
    #include "str_util.h"
    #include "client_msgs.h"