Wireshark  4.3.0
The Wireshark network protocol analyzer
Functions
util.h File Reference

Go to the source code of this file.

Functions

char * get_args_as_string (int argc, char **argv, int optindex)
 
void compute_timestamp_diff (gint *diffsec, gint *diffusec, guint32 sec1, guint32 usec1, guint32 sec2, guint32 usec2)
 
const char * get_conn_cfilter (void)
 
gboolean display_is_remote (void)
 
void set_last_open_dir (const char *dirname)
 

Detailed Description

Utility definitions

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ display_is_remote()

gboolean display_is_remote ( void  )

Check if we're running on a remote connection.

Returns
TRUE if we're running remotely, FALSE if local.

◆ set_last_open_dir()

void set_last_open_dir ( const char *  dirname)

Set the latest opened directory. Will already be done when using file_selection_new().

Parameters
dirnamethe dirname