bam_plp_init

bam_plp_init() - sets an iterator over multiple @func: see mplp_func in bam_plcmd.c in samtools for an example. Expected return status: 0 on success, -1 on end, < -1 on non-recoverable errors @data: user data to pass to @func

The struct returned by a successful call should be freed via bam_plp_destroy() when it is no longer needed.

extern (C)
bam_plp_init

Meta