pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h: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. \*/ /*
-
* $Id: program.h,v 1.
46
1998
/
11
/
22
11
:
03
:15 hubbe Exp $
+
* $Id: program.h,v 1.
47
1999
/
01
/
21
09
:
15
:15 hubbe Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include <stdarg.h> #include "global.h" #include "pike_types.h" #include "svalue.h" #include "time_stuff.h"
pike.git/src/program.h:180:
#define PROGRAM_PASS_1_DONE 8 /* Program will be destructed as soon at it runs out of references. */ #define PROGRAM_DESTRUCT_IMMEDIATE 16 #define PROGRAM_HAS_C_METHODS 32 struct program { INT32 refs;
+
#ifdef PIKE_SECURITY
+
struct object *prot;
+
#endif
INT32 id; /* used to identify program in caches */ INT32 flags; INT32 storage_needed; /* storage needed in the object struct */ struct timeval timestamp; struct program *next; struct program *prev; void (*init)(struct object *); void (*exit)(struct object *);