| 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
18 extern "C" {
19#endif /* __cplusplus */
20
21#define USE_SYSTEM_LANGUAGE "system"
22
23 char* get_language_used(void);
24/* XXX - This should be temporary until all UI preferences are in place */
25 void set_language_used(const char* lang);
26
27 extern void language_init(void);
28 extern void language_cleanup(void);
29 extern void read_language_prefs(const char* app_env_var_prefix);
30 extern 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 */