More Clang fixes

SendData.h: add extern for -Wmissing-variable-declarations
ErrCodes.c/h: format string for LogCip() should be const
AB.h: add missing enumerations