Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v2.1.0

  |   Home   |   Support   |   FAQ   |  
netloc.h
1 /*
2  * Copyright © 2013-2014 Cisco Systems, Inc. All rights reserved.
3  * Copyright © 2013-2014 University of Wisconsin-La Crosse.
4  * All rights reserved.
5  * Copyright © 2015-2016 Inria. All rights reserved.
6  *
7  * $COPYRIGHT$
8  *
9  * Additional copyrights may follow
10  * See COPYING in top-level directory.
11  *
12  * $HEADER$
13  */
14 
15 #ifndef _NETLOC_H_
16 #define _NETLOC_H_
17 
18 #ifndef _GNU_SOURCE
19 #define _GNU_SOURCE // for asprintf
20 #endif
21 
22 #include <hwloc/autogen/config.h>
23 
24 #include <hwloc.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
36 enum {
38  NETLOC_ERROR = -1,
47 };
48 
49 
50 #ifdef __cplusplus
51 } /* extern "C" */
52 #endif
53 
56 #endif // _NETLOC_H_
Definition: netloc.h:37
Definition: netloc.h:42
Definition: netloc.h:38
Definition: netloc.h:43
Definition: netloc.h:46
Definition: netloc.h:39
Definition: netloc.h:44
Definition: netloc.h:45
Definition: netloc.h:41
Definition: netloc.h:40