Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
profile.h
Go to the documentation of this file.
1
13#ifndef __PROFILE_H__
14#define __PROFILE_H__
15
16#include <glib.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
22typedef struct {
23 char *name; /* profile name */
24 char *reference; /* profile reference */
25 bool is_global;
26
27 // Settings
28 char *auto_switch_filter;
30
33void profile_init(const char* app_env_var_prefix);
34
37void profile_sync(const char* app_env_var_prefix);
38
48GList* profile_add_profile(const char *name, const char *parent, bool is_global, const char* auto_switch_filter);
49
52void profile_empty_list(void);
53
58GList* profile_get_list(void);
59
65bool profile_name_is_valid(const char* name);
66
76bool profile_save_settings(const char* name, const char* app_env_var_prefix, const char* app_name, char** err_info);
77
86bool profile_delete_current(const char* app_env_var_prefix, char** err_info);
87
88#ifdef __cplusplus
89}
90#endif /* __cplusplus */
91
92#endif /* __PROFILE_H__ */
GList * profile_get_list(void)
Definition profile.c:30
void profile_sync(const char *app_env_var_prefix)
Definition profile.c:177
void profile_init(const char *app_env_var_prefix)
Definition profile.c:140
void profile_empty_list(void)
Definition profile.c:280
bool profile_save_settings(const char *name, const char *app_env_var_prefix, const char *app_name, char **err_info)
Definition profile.c:334
GList * profile_add_profile(const char *name, const char *parent, bool is_global, const char *auto_switch_filter)
Definition profile.c:51
bool profile_delete_current(const char *app_env_var_prefix, char **err_info)
Definition profile.c:251
bool profile_name_is_valid(const char *name)
Definition profile.c:80
Definition profile.h:22