[PATCH 1/7] wsdapi: Add wsdapi_internal.h for shared internal function and macro definitions.