1dmmp_mpath_array_gDeetv(i3c)e Mapper Multipath API - libdmmp Mdamnmupa_lmpath_array_get(3)
2
3
4

NAME

6       dmmp_mpath_array_get - Query all existing multipath devices.
7

SYNOPSIS

9       int  dmmp_mpath_array_get  (struct dmmp_context *ctx, struct dmmp_mpath
10       ***dmmp_mps, uint32_t *dmmp_mp_count);
11

ARGUMENTS

13       ctx         Pointer of 'struct dmmp_context'.  If this pointer is NULL,
14                   your program will be terminated by assert.
15
16       dmmp_mps    Output  pointer  array  of  'struct  dmmp_mpath'.   If this
17                   pointer is NULL, your program will be terminated by assert.
18
19       dmmp_mp_count
20                   Output pointer of uint32_t. Hold  the  size  of  'dmmp_mps'
21                   pointer  array.  If this pointer is NULL, your program will
22                   be terminated by assert.
23

DESCRIPTION

25       Query all existing multipath devices and store them into a pointer  ar‐
26       ray.   The  memory  of  'dmmp_mps'  should  be freed via dmmp_mpath_ar‐
27       ray_free.
28

RETURN

30       int. Valid error codes are:
31
32       * DMMP_OK
33
34       * DMMP_ERR_BUG
35
36       * DMMP_ERR_NO_MEMORY
37
38       * DMMP_ERR_NO_DAEMON
39
40       * DMMP_ERR_INCONSISTENT_DATA
41
42       Error number could be converted to string by dmmp_strerror.
43
44
45
46March 2018                   dmmp_mpath_array_get      dmmp_mpath_array_get(3)
Impressum