pike.git / src / mapping.h

version» Context lines:

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.13 1999/01/21 09:15:06 hubbe Exp $ +  * $Id: mapping.h,v 1.14 1999/02/05 01:03:54 hubbe Exp $    */   #ifndef MAPPING_H   #define MAPPING_H      #include "las.h"    -  + #define MAPPING_FLAG_WEAK 1 +    struct keypair   {    struct keypair *next;    struct svalue ind, val;   };      struct mapping   {    INT32 refs;   #ifdef PIKE_SECURITY    struct object *prot;   #endif    INT32 size, hashsize; -  +  INT16 flags;    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)