Bitcoin address validator in C
It would be nice to include a link to an authoritative reference. Until then, no comment on the algorithm compliance is possible.
Instead of switch I'd rather have a table of strings indexed by BitcoinAddressState values.
In C, main must return a value explicitly.