1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
/* 
|| 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. 
|| $Id: main.h,v 1.24 2004/12/30 13:40:19 grubba Exp $ 
*/ 
 
#ifndef MAIN_H 
#define MAIN_H 
 
#include "callback.h" 
 
/* Prototypes begin here */ 
PMOD_EXPORT struct callback *add_post_master_callback(callback_func call, 
                                          void *arg, 
                                          callback_func free_func); 
PMOD_EXPORT struct callback *add_exit_callback(callback_func call, 
                                   void *arg, 
                                   callback_func free_func); 
int main(int argc, char **argv); 
DECLSPEC(noreturn) void pike_do_exit(int num) ATTRIBUTE((noreturn)); 
void exit_main(void); 
void init_main(void); 
/* Prototypes end here */ 
 
#endif /* !MAIN_H */