Merge remote-tracking branch 'origin/master' into jerry-sandbox

This commit is contained in:
Jerry (Xinyu Hou)
2015-06-08 13:53:01 -07:00
21 changed files with 433 additions and 248 deletions

View File

@@ -24,6 +24,7 @@
#include <iostream>
const char * kSynergyVers = VERSION;
SecureSocket* g_secureSocket = NULL;
SecureListenSocket* g_secureListenSocket = NULL;
Arch* g_arch = NULL;
@@ -86,6 +87,9 @@ invoke(const char* command, void** args)
g_secureListenSocket = NULL;
}
}
else if(strcmp(command, "version") == 0) {
return (void*) kSynergyVers;
}
return NULL;
}