cb22561995-10-11Fredrik Hübinette (Hubbe) /*\
06983f1996-09-22Fredrik Hübinette (Hubbe) ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License)
cb22561995-10-11Fredrik Hübinette (Hubbe) ||| See the files COPYING and DISCLAIMER for more information. \*/
24ddc71998-03-28Henrik Grubbström (Grubba)  /*
eb2fd52000-11-06Henrik Grubbström (Grubba)  * $Id: main.h,v 1.14 2000/11/06 17:03:32 grubba Exp $
24ddc71998-03-28Henrik Grubbström (Grubba)  */
5267b71995-08-09Fredrik Hübinette (Hubbe) #ifndef MAIN_H #define MAIN_H
6e37dc1996-06-21Fredrik Hübinette (Hubbe) #include "callback.h"
7d955e1999-12-13Henrik Grubbström (Grubba) extern int d_flag, t_flag, a_flag, l_flag, c_flag, p_flag; extern int debug_options, runtime_options;
2259f91998-04-13Henrik Grubbström (Grubba) extern int default_t_flag;
cd83521998-02-02Fredrik Hübinette (Hubbe) 
9debfa1999-08-11Fredrik Hübinette (Hubbe) #ifdef TRY_USE_MMX extern int try_use_mmx; #endif
7d955e1999-12-13Henrik Grubbström (Grubba) /* Debug options */
cd83521998-02-02Fredrik Hübinette (Hubbe) #define DEBUG_SIGNALS 1
9b08a21998-03-31Fredrik Hübinette (Hubbe) #define NO_TAILRECURSION 2
7d955e1999-12-13Henrik Grubbström (Grubba)  /* Runtime options */ #define RUNTIME_CHECK_TYPES 1 #define RUNTIME_STRICT_TYPES 2
5267b71995-08-09Fredrik Hübinette (Hubbe)  /* Prototypes begin here */
6e37dc1996-06-21Fredrik Hübinette (Hubbe) struct callback *add_post_master_callback(callback_func call, void *arg, callback_func free_func);
61e9a01998-01-25Fredrik Hübinette (Hubbe) struct callback *add_exit_callback(callback_func call, void *arg, callback_func free_func);
3c0c281998-01-26Fredrik Hübinette (Hubbe) int dbm_main(int argc, char **argv);
eb2fd52000-11-06Henrik Grubbström (Grubba) DECLSPEC(noreturn) void pike_do_exit(int num) ATTRIBUTE((noreturn));
156fd51997-10-27Fredrik Hübinette (Hubbe) void low_init_main(void);
378b2d1997-02-06Fredrik Hübinette (Hubbe) void exit_main(void);
156fd51997-10-27Fredrik Hübinette (Hubbe) void init_main(void); void low_exit_main(void);
5267b71995-08-09Fredrik Hübinette (Hubbe) /* Prototypes end here */ #endif