aboutsummaryrefslogtreecommitdiffstats
path: root/ui/software_update.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/software_update.h')
-rw-r--r--ui/software_update.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/software_update.h b/ui/software_update.h
index b3e593b89c..a7ba154960 100644
--- a/ui/software_update.h
+++ b/ui/software_update.h
@@ -45,6 +45,19 @@ extern void software_update_check(void);
*/
extern void software_update_cleanup(void);
+/** Check to see if Wireshark can shut down safely (e.g. offer to save the
+ * current capture). Called from a separate thread.
+ *
+ * Does nothing on platforms that don't support software updates.
+ */
+extern int software_update_can_shutdown_callback(void);
+
+/** Shut down Wireshark in preparation for an upgrade. Called from a separate
+ * thread.
+ *
+ * Does nothing on platforms that don't support software updates.
+ */
+extern void software_update_shutdown_request_callback(void);
#ifdef __cplusplus
}