Hardware Locality (hwloc)
2.4.1
include
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
{
37
NETLOC_SUCCESS
= 0,
38
NETLOC_ERROR
= -1,
39
NETLOC_ERROR_NOTDIR
= -2,
40
NETLOC_ERROR_NOENT
= -3,
41
NETLOC_ERROR_EMPTY
= -4,
42
NETLOC_ERROR_MULTIPLE
= -5,
43
NETLOC_ERROR_NOT_IMPL
= -6,
44
NETLOC_ERROR_EXISTS
= -7,
45
NETLOC_ERROR_NOT_FOUND
= -8,
46
NETLOC_ERROR_MAX
= -9
47
};
48
49
50
#ifdef __cplusplus
51
}
/* extern "C" */
52
#endif
53
56
#endif
// _NETLOC_H_
NETLOC_ERROR_EMPTY
@ NETLOC_ERROR_EMPTY
Definition:
netloc.h:41
NETLOC_ERROR_MAX
@ NETLOC_ERROR_MAX
Definition:
netloc.h:46
NETLOC_ERROR_MULTIPLE
@ NETLOC_ERROR_MULTIPLE
Definition:
netloc.h:42
NETLOC_ERROR_NOT_IMPL
@ NETLOC_ERROR_NOT_IMPL
Definition:
netloc.h:43
NETLOC_ERROR
@ NETLOC_ERROR
Definition:
netloc.h:38
NETLOC_SUCCESS
@ NETLOC_SUCCESS
Definition:
netloc.h:37
NETLOC_ERROR_NOT_FOUND
@ NETLOC_ERROR_NOT_FOUND
Definition:
netloc.h:45
NETLOC_ERROR_EXISTS
@ NETLOC_ERROR_EXISTS
Definition:
netloc.h:44
NETLOC_ERROR_NOTDIR
@ NETLOC_ERROR_NOTDIR
Definition:
netloc.h:39
NETLOC_ERROR_NOENT
@ NETLOC_ERROR_NOENT
Definition:
netloc.h:40
Generated by
1.9.1