commit | 9cd26a803571a2eb58c9a76ec95f255b60ec7f46 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue May 31 08:58:48 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue May 31 08:58:48 2016 +0200 |
tree | 7682886d7e2f1baadb1e538f73c65d5afc261770 | |
parent | ef51d0059ac64df21893d27d7f08d0ac441ba99f [diff] [blame] |
client session FEATURE get session ntf thread state
diff --git a/src/session_client.c b/src/session_client.c index 3991fab..c048837 100644 --- a/src/session_client.c +++ b/src/session_client.c
@@ -1055,6 +1055,17 @@ return NULL; } +API int +nc_session_ntf_thread_running(const struct nc_session *session) +{ + if (!session) { + ERRARG("session"); + return 0; + } + + return session->ntf_tid ? 1 : 0; +} + API void nc_client_init(void) {