1 /*
2 * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2005 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9 * University of Stuttgart. All rights reserved.
10 * Copyright (c) 2004-2005 The Regents of the University of California.
11 * All rights reserved.
12 * Copyright (c) 2007-2011 Cisco Systems, Inc. All rights reserved.
13 * Copyright (c) 2010-2011 Los Alamos National Security, LLC.
14 * All rights reserved.
15 * $COPYRIGHT$
16 *
17 * Additional copyrights may follow
18 *
19 * $HEADER$
20 */
21
22 #ifndef MCA_SHMEM_MMAP_EXPORT_H
23 #define MCA_SHMEM_MMAP_EXPORT_H
24
25 #include "opal_config.h"
26
27 #include "opal/mca/mca.h"
28 #include "opal/mca/shmem/shmem.h"
29
30 BEGIN_C_DECLS
31
32 extern int opal_shmem_mmap_relocate_backing_file;
33 extern char *opal_shmem_mmap_backing_file_base_dir;
34 extern bool opal_shmem_mmap_nfs_warning;
35
36 /**
37 * globally exported variable to hold the mmap component.
38 */
39 typedef struct opal_shmem_mmap_component_t {
40 /* base component struct */
41 opal_shmem_base_component_t super;
42 /* priority for mmap component */
43 int priority;
44 } opal_shmem_mmap_component_t;
45
46 OPAL_MODULE_DECLSPEC extern opal_shmem_mmap_component_t
47 mca_shmem_mmap_component;
48
49 typedef struct opal_shmem_mmap_module_t {
50 opal_shmem_base_module_t super;
51 } opal_shmem_mmap_module_t;
52 extern opal_shmem_mmap_module_t opal_shmem_mmap_module;
53
54 END_C_DECLS
55
56 #endif /* MCA_SHMEM_MMAP_EXPORT_H */