diff --git a/commondependency/include/deviceprofile_connector.h b/commondependency/include/deviceprofile_connector.h index 3956310b878872de0a90f2fea178c359f1ec3535..81505fbd3ff46e06c644826bd687590409470ebc 100644 --- a/commondependency/include/deviceprofile_connector.h +++ b/commondependency/include/deviceprofile_connector.h @@ -47,7 +47,7 @@ DM_EXPORT extern const uint32_t SERVICE; DM_EXPORT extern const uint32_t APP; extern const char* TAG_PEER_BUNDLE_NAME; -extern const char* TAG_PEER_TOKENID; +DM_EXPORT extern const char* TAG_PEER_TOKENID; const uint32_t DM_IDENTICAL_ACCOUNT = 1; const uint32_t DM_SHARE = 2; @@ -205,7 +205,7 @@ public: DM_EXPORT int32_t GetBindLevel(const std::string &pkgName, const std::string &localUdid, const std::string &udid, uint64_t &tokenId); std::map GetDeviceIdAndBindLevel(std::vector userIds, const std::string &localUdid); - std::vector GetDeviceIdAndUdidListByTokenId(const std::vector &userIds, + DM_EXPORT std::vector GetDeviceIdAndUdidListByTokenId(const std::vector &userIds, const std::string &localUdid, int32_t tokenId); DM_EXPORT std::multimap GetDeviceIdAndUserId( int32_t userId, const std::string &accountId, const std::string &localUdid);