Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v2.2.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_
@ NETLOC_ERROR_MULTIPLE
Definition: netloc.h:42
@ NETLOC_ERROR_NOT_IMPL
Definition: netloc.h:43
@ NETLOC_SUCCESS
Definition: netloc.h:37
@ NETLOC_ERROR
Definition: netloc.h:38
@ NETLOC_ERROR_EXISTS
Definition: netloc.h:44
@ NETLOC_ERROR_NOTDIR
Definition: netloc.h:39
@ NETLOC_ERROR_NOT_FOUND
Definition: netloc.h:45
@ NETLOC_ERROR_MAX
Definition: netloc.h:46
@ NETLOC_ERROR_NOENT
Definition: netloc.h:40
@ NETLOC_ERROR_EMPTY
Definition: netloc.h:41