pike.git
/
src
/
mapping.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/mapping.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: mapping.h,v 1.
12
1998
/
05
/
14
21:
45
:
22
hubbe Exp $
+
* $Id: mapping.h,v 1.
13
1999
/
01
/
21
09
:
15
:
06
hubbe Exp $
*/ #ifndef MAPPING_H #define MAPPING_H #include "las.h" struct keypair { struct keypair *next; struct svalue ind, val; }; struct mapping {
-
INT32 refs
,
size, hashsize;
+
INT32 refs
;
+
#ifdef
PIKE_SECURITY
+
struct object *prot;
+
#endif
+
INT32
size, hashsize;
TYPE_FIELD ind_types, val_types; struct mapping *next, *prev; struct keypair **hash; struct keypair *free_list; }; extern struct mapping *first_mapping; #define m_sizeof(m) ((m)->size) #define m_ind_types(m) ((m)->ind_types)