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.
d867062005-01-01Henrik Grubbström (Grubba) || $Id: main.h,v 1.25 2005/01/01 14:35:45 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));
5267b71995-08-09Fredrik Hübinette (Hubbe) /* Prototypes end here */
783ab42003-05-27Martin Nilsson #endif /* !MAIN_H */