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. \*/
5267b71995-08-09Fredrik Hübinette (Hubbe) #ifndef MAIN_H #define MAIN_H
6e37dc1996-06-21Fredrik Hübinette (Hubbe) #include "callback.h"
cd83521998-02-02Fredrik Hübinette (Hubbe) extern int d_flag, t_flag, a_flag, l_flag, c_flag, p_flag, debug_options; #define DEBUG_SIGNALS 1
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); void 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