e576bb2002-10-11Martin Nilsson /* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
df458c2004-12-30Henrik Grubbström (Grubba) || $Id: main.h,v 1.24 2004/12/30 13:40:19 grubba Exp $
e576bb2002-10-11Martin Nilsson */
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"
5267b71995-08-09Fredrik Hübinette (Hubbe) /* Prototypes begin here */
6f0d752000-12-16Marcus Comstedt PMOD_EXPORT struct callback *add_post_master_callback(callback_func call,
6e37dc1996-06-21Fredrik Hübinette (Hubbe)  void *arg, callback_func free_func);
6f0d752000-12-16Marcus Comstedt PMOD_EXPORT struct callback *add_exit_callback(callback_func call,
61e9a01998-01-25Fredrik Hübinette (Hubbe)  void *arg, callback_func free_func);
df458c2004-12-30Henrik Grubbström (Grubba) int main(int argc, char **argv);
eb2fd52000-11-06Henrik Grubbström (Grubba) DECLSPEC(noreturn) void pike_do_exit(int num) ATTRIBUTE((noreturn));
378b2d1997-02-06Fredrik Hübinette (Hubbe) void exit_main(void);
156fd51997-10-27Fredrik Hübinette (Hubbe) void init_main(void);
5267b71995-08-09Fredrik Hübinette (Hubbe) /* Prototypes end here */
783ab42003-05-27Martin Nilsson #endif /* !MAIN_H */