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.96 2000/08/15 15:56:27 grubba Exp $"); + RCSID("$Id: main.c,v 1.97 2000/08/18 22:27:04 grubba 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:108:   static struct callback_list exit_callbacks;      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) + static void get_master_key(HKEY cat)   {    HKEY k;    char buffer[4096];    DWORD len=sizeof(buffer)-1,type=REG_SZ;    long ret;    if(RegOpenKeyEx(cat,    (LPCTSTR)"SOFTWARE\\Idonex\\Pike\\0.7",    0,KEY_READ,&k)==ERROR_SUCCESS)    {    if(RegQueryValueEx(k,