44 uint32_t sec1, uint32_t usec1, uint32_t sec2, uint32_t usec2);
const char * get_conn_cfilter(void)
Build a capture filter string matching the current remote connection.
Definition util.c:151
void set_last_open_dir(const char *dirname)
Set the most recently used file-open directory.
Definition util.c:355
const char * get_last_open_dir(void)
Return the most recently used file-open directory.
Definition util.c:349
bool display_is_remote(void)
Determine whether the current session is remote.
Definition util.c:334
void compute_timestamp_diff(int *diffsec, int *diffusec, uint32_t sec1, uint32_t usec1, uint32_t sec2, uint32_t usec2)
Compute the difference between two seconds/microseconds timestamps.
Definition util.c:83
const char * get_open_dialog_initial_dir(void)
Return the initial directory to present in file-open dialogs.
Definition util.c:378
char * get_args_as_string(int argc, char **argv, int optindex)
Concatenate command-line arguments into a single space-separated string.
Definition util.c:40