White-space fixes
namedb: add typedef namedb_api_t