00001
00002
00003
00004
00005
00010 #ifndef HWLOC_SHMEM_H
00011 #define HWLOC_SHMEM_H
00012
00013 #include <hwloc.h>
00014
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #elif 0
00018 }
00019 #endif
00020
00021
00053 HWLOC_DECLSPEC int hwloc_shmem_topology_get_length(hwloc_topology_t topology,
00054 size_t *lengthp,
00055 unsigned long flags);
00056
00082 HWLOC_DECLSPEC int hwloc_shmem_topology_write(hwloc_topology_t topology,
00083 int fd, hwloc_uint64_t fileoffset,
00084 void *mmap_address, size_t length,
00085 unsigned long flags);
00086
00125 HWLOC_DECLSPEC int hwloc_shmem_topology_adopt(hwloc_topology_t *topologyp,
00126 int fd, hwloc_uint64_t fileoffset,
00127 void *mmap_address, size_t length,
00128 unsigned long flags);
00132 #ifdef __cplusplus
00133 }
00134 #endif
00135
00136
00137 #endif