2 * Expose all properties used by /usr/bin/multipath
5 * Keep things as simple as possible.
6 * Linux Kernel code style.
9 * We are not smarter than API user, so don't create wrapping function like:
12 dmmp_mpath_search_by_id(struct dmmp_context *ctx,
13 struct dmmp_mpath **dmmp_mp,
14 uint32_t dmmp_mp_count, const char *id)
16 dmmp_path_group_id_search(struct dmmp_mpath *dmmp_mp,
19 * The performance is the same for query single mpath and query all mpaths,
20 so no `dmmp_mpath_of_wwid(struct dmmp_context *ctx, const char *wwid)` yet.
23 * Public constants should be named as `DMMP_XXX_YYY`.
24 * Public functions should be named as `dmmp_<noun>_<verb>`.
25 * Private constants should be named as `_DMMP_XXX_YYY`.
26 * Private functions should be named as `_dmmp_<noun>_<verb>`.
30 Internal functions or macros.
32 Handling multipathd IPC and generate dmmp_context and
33 dmmp_mpath_array_get().
35 For `struct dmmp_mpath`
37 For `struct dmmp_path_group`
39 For `struct dmmp_path`