pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.93 2000/07/07 01:47:05 hubbe Exp $"); + RCSID("$Id: main.c,v 1.94 2000/07/28 17:16:55 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:57: Inside #if defined(TRY_USE_MMX)
     #ifdef TRY_USE_MMX   #include <mmx.h>   int try_use_mmx;   #endif         char *master_file;   char **ARGV;    - int debug_options=0; - int runtime_options=0; - int d_flag=0; - int c_flag=0; - int t_flag=0; - int default_t_flag=0; - int a_flag=0; - int l_flag=0; - int p_flag=0; + PMOD_EXPORT int debug_options=0; + PMOD_EXPORT int runtime_options=0; + PMOD_EXPORT int d_flag=0; + PMOD_EXPORT int c_flag=0; + PMOD_EXPORT int t_flag=0; + PMOD_EXPORT int default_t_flag=0; + PMOD_EXPORT int a_flag=0; + PMOD_EXPORT int l_flag=0; + PMOD_EXPORT int p_flag=0;   #ifdef YYDEBUG   extern int yydebug;   #endif /* YYDEBUG */   static long instructions_left;      #define MASTER_COOKIE "(#*&)@(*&$Master Cookie:"      #ifndef MAXPATHLEN   #define MAXPATHLEN 32768   #endif
pike.git/src/main.c:90:   {    if(instructions_left-- < 0)    {    push_int(0);    f_exit(1);    }   }      static struct callback_list post_master_callbacks;    - struct callback *add_post_master_callback(callback_func call, + PMOD_EXPORT struct callback *add_post_master_callback(callback_func call,    void *arg,    callback_func free_func)   {    return add_to_callback(&post_master_callbacks, call, arg, free_func);   }         static struct callback_list exit_callbacks;    - struct callback *add_exit_callback(callback_func call, + PMOD_EXPORT struct callback *add_exit_callback(callback_func call,    void *arg,    callback_func free_func)   {    return add_to_callback(&exit_callbacks, call, arg, free_func);   }      #ifdef __NT__   static void get_master_key(long cat)   {    HKEY k;