Fix EPR_NUM_PRODUCT_TABLES
Add missing prototype
Additional checks
Silence gcc warnings
Silence -Wstrict-prototypes warnings
Fixed some function comment

All functions listed in epr_api.h belong to the public API
Strip trailing spaces
Replace tabs with spaces
Raise an error in case of invalid flag name