DOKK / manpages / debian 12 / multipath-tools / dmmp_context_userdata_set.3.en
dmmp_context_userdata_set(3) Device Mapper Multipath API - libdmmp Manual dmmp_context_userdata_set(3)

dmmp_context_userdata_set - Set user data pointer.

void dmmp_context_userdata_set (struct dmmp_context *ctx, void *userdata);

Pointer of 'struct dmmp_context'. If this pointer is NULL, your program will be terminated by assert.
Pointer of user defined data.

Store user data pointer into 'struct dmmp_context'.

void

dmmp_context_userdata_set March 2018