diff --git a/options.c b/options.c index 1f1c5e9..6e5272d 100644 --- a/options.c +++ b/options.c @@ -118,3 +118,9 @@ LIB3270_EXPORT const LIB3270_OPTION_ENTRY * lib3270_get_option_list(void) { return options; } + +LIB3270_EXPORT int lib3270_is_tso(H3270 *hSession) +{ + CHECK_SESSION_HANDLE(hSession); + return (hSession->options & LIB3270_OPTION_TSO) != 0; +} -- libgit2 0.21.2