Add a NULL pointer check
Make __match_proto__() macro globally visible
Add an assert for the benefit of static analysers
Make the records static in the VSLQ_dispatch_f() api

Use the and mark __match_proto__() the typedef where applicable.