Fix spelling mistake
Add forward declarations for functions
Add modeline comment
Add requirement for last item to be NULL as per of tools/checkAPIs.pl
Replace deprecated usage of tvb_length with tvb_captured_length