summaryrefslogtreecommitdiff
path: root/ui/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/util.h')
-rw-r--r--ui/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/util.h b/ui/util.h
index 5e88428907..22898fd0af 100644
--- a/ui/util.h
+++ b/ui/util.h
@@ -50,6 +50,11 @@ void compute_timestamp_diff(gint *diffsec, gint *diffusec,
*/
const char *get_conn_cfilter(void);
+/** Check if we're running on a remote connection.
+ * @return TRUE if we're running remotely, FALSE if local.
+ */
+gboolean display_is_remote(void);
+
/** Set the latest opened directory.
* Will already be done when using file_selection_new().
*