/***************************************************************************
*
* CVSID: $Id$
*
* hald_runner.h - Interface to the hal runner helper daemon
*
* Copyright (C) 2006 Sjoerd Simons <sjoerd@luon.net>
*
* Licensed under the Academic Free License version 2.1
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
**************************************************************************/
#ifndef HALD_RUNNER_H
#define HALD_RUNNER_H
#include "device.h"
/* Successful run of the program */
/* Process was killed because of running too long */
/* Failed to start for some reason */
/* Killed on purpose, e.g. hal_runner_kill_device */
/* Default sane timeout */
/* Start the runner daemon */
hald_runner_start_runner(void);
/* Start a helper, returns true on a successfull start.
* cb will be called on abnormal or premature termination
* only
*/
/* Run a helper program using the commandline, with input as infomation on
* stdin */
void
void
void hald_runner_kill_all();
/* called by the core to tell the runner a device was finalized */
#endif