File include/bpo_init_internal.h

Included in: libsrc/bpo_alloc.c
  libsrc/bpo_init.c
  libsrc/bpo_res_2.c
  libsrc/bpo_resource.c
  libsrc/bpo_val_res.c

Included Files


Preprocessor definitions

#define MPLIB1_BPO_INIT_INTERNAL

#define SODB_MAGIC 0x536d6567

#define SODB_VERSION_1 1

#define SODB_VERSION_2 2

#define SODB_CURRENT_VERSION SODB_VERSION_2

#define SODB_NAME_SIZE1 512


Type enum sodb_types

enum sodb_types
enum sodb_types  
   {  
      SODB_T_UNKNOWN;  
      SODB_T_MMAP;  
      SODB_T_IPC;  
   }  

Type struct sodb_resource

struct sodb_resource
struct sodb_resource  
   {  
      bpo_Node_t res_node;  
      off_t res_off;  
   }  

Type struct sodb

struct sodb
struct sodb  
   {  
      int sodb_magic;  
      char sodb_use_name[512];  
      size_t sodb_size;  
      enum sodb_types sodb_type;  
      int sodb_version;  
      int sodb_flags;  
      struct stat mmap_stat;  
      int mmap_fd;  
      int mmap_prot;  
      int mmap_flags;  
      off_t mmap_off;  
      char mmap_name[512];  
      key_t ipc_key;  
      char ipc_path[512];  
      char ipc_tok_id;  
      int ipc_id;  
      struct bpo_pid_lock res_p_lock;  
      bpo_List_t sodb_resource_list;  
      struct sodb_resource sodb_resource;  
      char sodb_res_name[10];  
      off_t shalloc_offset;  
      size_t shalloc_size;  
   }  

Type struct sodb_track

struct sodb_track
struct sodb_track  
   {  
      dl_Node_t st_Node;  
      struct sodb* sodbp;  
      int mmap_fd;  
      const char* upper;  
      mode_t access_mode;  
      char fname[1];  
   }  

Type struct sodb_res_find

struct sodb_res_find
struct sodb_res_find  
   {  
      struct sodb* sodbp;  
      const char* name;  
      void* ptr;  
      void* obj;  
      int flags;  
      int ierrno;  
      off_t rv;  
   }