2021-11-30 08:01:36 -05:00
|
|
|
/** @file
|
2013-12-21 17:55:43 +01:00
|
|
|
*
|
|
|
|
* Copyright 2014, Michal Labedzki for Tieto Corporation
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-04-30 09:47:58 +02:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2013-12-21 17:55:43 +01:00
|
|
|
|
|
|
|
#ifndef __LANGUAGE_H__
|
|
|
|
#define __LANGUAGE_H__
|
|
|
|
|
2024-03-29 18:08:09 -07:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2013-12-21 17:55:43 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2016-04-28 12:33:28 -07:00
|
|
|
#define USE_SYSTEM_LANGUAGE "system"
|
|
|
|
|
2013-12-21 17:55:43 +01:00
|
|
|
extern char *language;
|
|
|
|
|
2024-03-29 18:08:09 -07:00
|
|
|
extern void read_language_prefs(void);
|
|
|
|
extern bool write_language_prefs(void);
|
2013-12-21 17:55:43 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* language.h */
|