dmmp_mpath_array_free - Man Page

Free 'struct dmmp_mpath' pointer array.

Synopsis

void dmmp_mpath_array_free (struct dmmp_mpath **dmmp_mps, uint32_t dmmp_mp_count);

Arguments

dmmp_mps

Pointer of 'struct dmmp_mpath' array.

dmmp_mp_count

uint32_t, the size of 'dmmp_mps' pointer array.

Description

Free the 'dmmp_mps' pointer array generated by dmmp_mpath_array_get. If provided 'dmmp_mps' pointer is NULL or dmmp_mp_count == 0, do nothing.

Return

void

Info

March 2018 Device Mapper Multipath API - libdmmp Manual