2005-01-20 23:22:22 +00:00
|
|
|
// Berkeley Open Infrastructure for Network Computing
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2005 University of California
|
2003-08-15 19:23:44 +00:00
|
|
|
//
|
2005-01-20 23:22:22 +00:00
|
|
|
// This 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 2.1 of the License, or (at your option) any later version.
|
2003-08-15 19:23:44 +00:00
|
|
|
//
|
2005-01-20 23:22:22 +00:00
|
|
|
// This software 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.
|
2002-12-03 18:57:40 +00:00
|
|
|
//
|
2005-01-20 23:22:22 +00:00
|
|
|
// To view the GNU Lesser General Public License visit
|
|
|
|
// http://www.gnu.org/copyleft/lesser.html
|
|
|
|
// or write to the Free Software Foundation, Inc.,
|
|
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2002-12-03 18:57:40 +00:00
|
|
|
|
2003-04-07 19:06:00 +00:00
|
|
|
#include "boinc_db.h"
|
2003-08-15 19:23:44 +00:00
|
|
|
#include "sched_config.h"
|
2004-04-04 01:59:47 +00:00
|
|
|
#include "synch.h"
|
2004-09-13 18:05:54 +00:00
|
|
|
#include "server_types.h"
|
2002-08-30 22:11:36 +00:00
|
|
|
|
2003-09-02 21:16:55 +00:00
|
|
|
extern SCHED_CONFIG config;
|
2004-09-13 18:05:54 +00:00
|
|
|
extern GUI_URLS gui_urls;
|
2006-06-26 22:58:24 +00:00
|
|
|
extern PROJECT_FILES project_files;
|
2004-04-04 01:59:47 +00:00
|
|
|
extern key_t sema_key;
|
2004-07-24 00:09:28 +00:00
|
|
|
extern int g_pid;
|
2004-04-30 18:26:20 +00:00
|
|
|
|
2005-06-02 21:38:20 +00:00
|
|
|
extern void send_message(const char*, int delay, bool send_header);
|
2004-04-30 18:26:20 +00:00
|
|
|
extern int open_database();
|