GUAC-1452: Add typescript parameters for SSH/telnet.

This commit is contained in:
Michael Jumper 2016-01-25 13:12:24 -08:00
parent f49540f436
commit ad34aa99b4
2 changed files with 44 additions and 0 deletions

View File

@ -58,6 +58,9 @@ const char* GUAC_CLIENT_ARGS[] = {
#endif
"color-scheme",
"command",
"typescript-path",
"typescript-name",
"create-typescript-path",
NULL
};
@ -129,6 +132,25 @@ enum __SSH_ARGS_IDX {
*/
IDX_COMMAND,
/**
* The full absolute path to the directory in which typescripts should be
* written.
*/
IDX_TYPESCRIPT_PATH,
/**
* The name that should be given to typescripts which are written in the
* given path. Each typescript will consist of two files: "NAME" and
* "NAME.timing".
*/
IDX_TYPESCRIPT_NAME,
/**
* Whether the specified typescript path should automatically be created
* if it does not yet exist.
*/
IDX_CREATE_TYPESCRIPT_PATH,
SSH_ARGS_COUNT
};

View File

@ -54,6 +54,9 @@ const char* GUAC_CLIENT_ARGS[] = {
"font-name",
"font-size",
"color-scheme",
"typescript-path",
"typescript-name",
"create-typescript-path",
NULL
};
@ -109,6 +112,25 @@ enum __TELNET_ARGS_IDX {
*/
IDX_COLOR_SCHEME,
/**
* The full absolute path to the directory in which typescripts should be
* written.
*/
IDX_TYPESCRIPT_PATH,
/**
* The name that should be given to typescripts which are written in the
* given path. Each typescript will consist of two files: "NAME" and
* "NAME.timing".
*/
IDX_TYPESCRIPT_NAME,
/**
* Whether the specified typescript path should automatically be created
* if it does not yet exist.
*/
IDX_CREATE_TYPESCRIPT_PATH,
TELNET_ARGS_COUNT
};