diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/defines.h | 3 | ||||
-rw-r--r-- | src/uccs-server.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/defines.h b/src/defines.h index 721e14c..d4d74c1 100644 --- a/src/defines.h +++ b/src/defines.h @@ -21,6 +21,9 @@ #ifndef __DEFINES_H__ #define __DEFINES_H__ +/* required UCCS API version */ +#define UCCS_API_VERSION 5 + #define CONFIG_MAIN_GROUP "Remote Logon Service" #define CONFIG_MAIN_SERVERS "Servers" #define CONFIG_SERVER_PREFIX "Server" diff --git a/src/uccs-server.c b/src/uccs-server.c index 8365489..3337aa7 100644 --- a/src/uccs-server.c +++ b/src/uccs-server.c @@ -736,6 +736,7 @@ uccs_server_unlock (UccsServer * server, const gchar * address, const gchar * us argv[2] = NULL; g_setenv("SERVER_ROOT", server->parent.uri, TRUE); + g_setenv("API_VERSION", UCCS_API_VERSION, TRUE); g_spawn_async_with_pipes(NULL, /* pwd */ (gchar **)argv, |