version 1.1.1.1, 2012/02/21 16:32:16
|
version 1.1.1.2, 2013/07/22 01:17:36
|
Line 3
|
Line 3
|
* |
* |
* Home page of code is: http://smartmontools.sourceforge.net |
* Home page of code is: http://smartmontools.sourceforge.net |
* |
* |
* Copyright (C) 2004-8 Christian Franke <smartmontools-support@lists.sourceforge.net> | * Copyright (C) 2004-12 Christian Franke <smartmontools-support@lists.sourceforge.net> |
* |
* |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
Line 11
|
Line 11
|
* any later version. |
* any later version. |
* |
* |
* You should have received a copy of the GNU General Public License |
* You should have received a copy of the GNU General Public License |
* (for example COPYING); if not, write to the Free | * (for example COPYING); If not, see <http://www.gnu.org/licenses/>. |
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
* |
* |
*/ |
*/ |
|
|
#ifndef DAEMON_WIN32_H |
#ifndef DAEMON_WIN32_H |
#define DAEMON_WIN32_H |
#define DAEMON_WIN32_H |
|
|
#define DAEMON_WIN32_H_CVSID "$Id$\n" | #define DAEMON_WIN32_H_CVSID "$Id$" |
|
|
#include <signal.h> |
#include <signal.h> |
|
|
Line 59 int daemon_enable_console(const char * title);
|
Line 58 int daemon_enable_console(const char * title);
|
|
|
// Detach from console |
// Detach from console |
int daemon_detach(const char * ident); |
int daemon_detach(const char * ident); |
|
|
// Display a message box |
|
int daemon_messagebox(int system, const char * title, const char * text); |
|
|
|
// Spawn a process and redirect stdio |
// Spawn a process and redirect stdio |
int daemon_spawn(const char * cmd, |
int daemon_spawn(const char * cmd, |