1 /************************************************************************* 2 * TinyFugue - programmable mud client 3 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2006-2007 Ken Keys 4 * 5 * TinyFugue (aka "tf") is protected under the terms of the GNU 6 * General Public License. See the file "COPYING" for details. 7 ************************************************************************/ 8 9 #ifndef PROCESS_H 10 #define PROCESS_H 11 12 # if !NO_PROCESS 13 14 extern void kill_procs_by_world(struct World *world); 15 extern void kill_procs(void); 16 extern void nuke_dead_procs(void); 17 extern void runall(int prompted, struct World *world); 18 extern int ch_lpquote(Var *var); 19 20 extern struct timeval proctime; /* when next process should run */ 21 22 # else 23 24 #define kill_procs_by_world(world) /* do nothing */ 25 #define kill_procs() /* do nothing */ 26 #define nuke_dead_procs() /* do nothing */ 27 #define runall(prompted, world) /* do nothing */ 28 #define ch_lpquote NULL 29 #define proctime tvzero 30 31 # endif /* NO_PROCESS */ 32 33 #endif /* PROCESS_H */ 34