summaryrefslogtreecommitdiffstats
path: root/migration/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'migration/tls.h')
-rw-r--r--migration/tls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/migration/tls.h b/migration/tls.h
index de4fe2cafd..98e23c9b0e 100644
--- a/migration/tls.h
+++ b/migration/tls.h
@@ -37,4 +37,8 @@ void migration_tls_channel_connect(MigrationState *s,
QIOChannel *ioc,
const char *hostname,
Error **errp);
+
+/* Whether the QIO channel requires further TLS handshake? */
+bool migrate_channel_requires_tls_upgrade(QIOChannel *ioc);
+
#endif