It is described here:
https://manual.zorro-project.com/brokerplugin.htm

Some knowledge of C structs and memory management would be helpful in using the function.