Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
language.h
Go to the documentation of this file.
1
12#ifndef __LANGUAGE_H__
13#define __LANGUAGE_H__
14
15#include <stdbool.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21#define USE_SYSTEM_LANGUAGE "system"
22
23char* get_language_used(void);
24/* XXX - This should be temporary until all UI preferences are in place */
25void set_language_used(const char* lang);
26
27extern void language_init(void);
28extern void language_cleanup(void);
29extern void read_language_prefs(const char* app_env_var_prefix);
30extern bool write_language_prefs(const char* app_env_var_prefix, char** err_info);
31
32#ifdef __cplusplus
33}
34#endif /* __cplusplus */
35
36#endif /* language.h */