root/oshmem/mca/sshmem/mmap/sshmem_mmap.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2014      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9  */
  10 
  11 #ifndef MCA_SSHMEM_MMAP_EXPORT_H
  12 #define MCA_SSHMEM_MMAP_EXPORT_H
  13 
  14 #include "oshmem_config.h"
  15 
  16 #include "oshmem/mca/sshmem/sshmem.h"
  17 
  18 BEGIN_C_DECLS
  19 
  20 /**
  21  * globally exported variable to hold the mmap component.
  22  */
  23 typedef struct mca_sshmem_mmap_component_t {
  24     /* base component struct */
  25     mca_sshmem_base_component_t super;
  26     /* priority for mmap component */
  27     int priority;
  28     int is_anonymous;
  29     int is_start_addr_fixed;
  30 } mca_sshmem_mmap_component_t;
  31 
  32 OSHMEM_MODULE_DECLSPEC extern mca_sshmem_mmap_component_t
  33 mca_sshmem_mmap_component;
  34 
  35 typedef struct mca_sshmem_mmap_module_t {
  36     mca_sshmem_base_module_t super;
  37 } mca_sshmem_mmap_module_t;
  38 extern mca_sshmem_mmap_module_t mca_sshmem_mmap_module;
  39 
  40 END_C_DECLS
  41 
  42 #endif /* MCA_SHMEM_MMAP_EXPORT_H */

/* [<][>][^][v][top][bottom][index][help] */