Added 'system.api_version', which will be incremented every time the API changes. (sans brainfarts)

This commit is contained in:
rakshasa
2012-03-21 00:05:37 +09:00
parent ece90f975b
commit f1cd0f4780
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -328,6 +328,7 @@ initialize_command_local() {
CMD2_ANY ("system.hostname", std::bind(&system_hostname));
CMD2_ANY ("system.pid", std::bind(&getpid));
CMD2_VAR_C_STRING("system.api_version", (int64_t)API_VERSION);
CMD2_VAR_C_STRING("system.client_version", PACKAGE_VERSION);
CMD2_VAR_C_STRING("system.library_version", torrent::version());
CMD2_VAR_VALUE ("system.file.allocate", 0);