~ubuntu-branches/ubuntu/jaunty/openvas-server/jaunty

« back to all changes in this revision

Viewing changes to openvasd/processes.h

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2008-12-13 16:46:40 UTC
  • Revision ID: james.westby@ubuntu.com-20081213164640-och5em54157kbth8
Tags: upstream-1.0.2
ImportĀ upstreamĀ versionĀ 1.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* OpenVAS
 
2
* $Id: processes.h 140 2006-05-31 15:24:25Z tarik $
 
3
* Description: processes.c header.
 
4
*
 
5
* Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
 
6
*          - Tim Brown <mailto:timb@openvas.org> (Initial fork)
 
7
*          - Laban Mwangi <mailto:labanm@openvas.org> (Renaming work)
 
8
*          - Tarik El-Yassem <mailto:tarik@openvas.org> (Headers section)
 
9
*
 
10
* Copyright:
 
11
* Portions Copyright (C) 2006 Software in the Public Interest, Inc.
 
12
* Based on work Copyright (C) 1998 - 2006 Tenable Network Security, Inc.
 
13
*
 
14
* This program is free software; you can redistribute it and/or modify
 
15
* it under the terms of the GNU General Public License version 2,
 
16
* as published by the Free Software Foundation
 
17
*
 
18
* This program is distributed in the hope that it will be useful,
 
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
* GNU General Public License for more details.
 
22
*
 
23
* You should have received a copy of the GNU General Public License
 
24
* along with this program; if not, write to the Free Software
 
25
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 
26
*
 
27
*
 
28
*/
 
29
 
 
30
 
 
31
#ifndef _NESSUSD_THREADS_H
 
32
#define _NESSUSD_THREADS_H
 
33
 
 
34
typedef int(*process_func_t)(void *);
 
35
pid_t create_process(process_func_t, void *);
 
36
int   terminate_process(pid_t);
 
37
 
 
38
#endif