| 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
19 extern "C" {
20#endif /* __cplusplus */
21
22 typedef struct {
23 char *name; /* profile name */
24 char *reference; /* profile reference */
25 bool is_global;
26
27 // Settings
28 char *auto_switch_filter;
29} profile_def;
30
33 void profile_init(const char* app_env_var_prefix);
34
37 void 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
52 void profile_empty_list(void);
53
58GList* profile_get_list(void);
59
69 bool profile_save_settings(const char* name, const char* app_env_var_prefix, const char* app_name, char** err_info);
70
79 bool profile_delete_current(const char* app_env_var_prefix, char** err_info);
80
81#ifdef __cplusplus
82}
83#endif /* __cplusplus */
84
85#endif /* __PROFILE_H__ */
profile_get_list
GList * profile_get_list(void)
Definition profile.c:30
profile_sync
void profile_sync(const char *app_env_var_prefix)
Definition profile.c:177
profile_init
void profile_init(const char *app_env_var_prefix)
Definition profile.c:140
profile_empty_list
void profile_empty_list(void)
Definition profile.c:280
profile_save_settings
bool profile_save_settings(const char *name, const char *app_env_var_prefix, const char *app_name, char **err_info)
Definition profile.c:334
profile_add_profile
GList * profile_add_profile(const char *name, const char *parent, bool is_global, const char *auto_switch_filter)
Definition profile.c:51
profile_delete_current
bool profile_delete_current(const char *app_env_var_prefix, char **err_info)
Definition profile.c:251
profile_def
Definition profile.h:22