Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
software_update.h File Reference

Go to the source code of this file.

Functions

void software_update_init (const char *su_application, const char *su_version)
void software_update_check (void)
void software_update_cleanup (void)

Detailed Description

Wrappers and routines to check for software updates.

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

Automatic update routines.

Routines that integrate with WinSparkle on Windows and Sparkle on macOS.

Sparkle and WinSparkle check for updates by fetching an Appcast XML file from www.wireshark.org. Appcast URLs have the form https://www.wireshark.org/update/<URL version>/<application>/<OS>/<architecture>/en-US/<channel>.xml

Where: URL version: Always 0 Application: One of "Wireshark" or "Stratoshark" OS: One of :Windows" or "macOS" Architecture: One of "x86-64" or "arm64" Channel: One of "stable" or "development"

Examples: https://www.wireshark.org/update/0/Wireshark/0.0.0/Windows/x86-64/en-US/stable.xml https://www.wireshark.org/update/0/Wireshark/0.0.0/macOS/arm64/en-US/stable.xml https://www.wireshark.org/update/0/Stratoshark/0.0.0/Windows/x86-64/en-US/stable.xml

Function Documentation

◆ software_update_check()

void software_update_check ( void )
extern

Force a software update check.

Does nothing on platforms that don't support software updates.

◆ software_update_cleanup()

void software_update_cleanup ( void )
extern

Clean up software update checking.

Does nothing on platforms that don't support software updates.

◆ software_update_init()

void software_update_init ( const char * su_application,
const char * su_version )
extern

Initialize software updates.

Does nothing on platforms that don't support software updates.