Minor change to API (renamed get_device_id to get_id). More complete Scala binding

This commit is contained in:
Joseph Henry
2017-10-16 15:12:37 -07:00
parent e8f1a4db73
commit fdd6010456
13 changed files with 288 additions and 76 deletions

View File

@@ -163,7 +163,7 @@ ZeroTier::VirtualTap *getAnyTap()
return vtap;
}
int zts_get_device_id_from_file(const char *filepath, char *devID)
int zts_get_id_from_file(const char *filepath, char *devID)
{
DEBUG_EXTRA();
std::string fname("identity.public");
@@ -480,7 +480,7 @@ void zts_get_homepath(char *homePath, size_t len)
}
}
int zts_get_device_id(char *devID)
int zts_get_id(char *devID)
{
DEBUG_EXTRA();
if (ZeroTier::zt1Service) {