diff options
| author | Michael Biebl <biebl@debian.org> | 2017-12-12 15:53:07 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-12-12 15:53:07 +0100 |
| commit | afcd268ea7b1149fbfb66bce4eca659b675da0a2 (patch) | |
| tree | c3fca2203ad17434daf3ccf576582bd66aa41ab2 /src/settings/nm-secret-agent.h | |
| parent | 417f6015c3dc8c47cf27daa59f64e0e36c521b9c (diff) | |
New upstream version 1.10.2 upstream/1.10.2
Diffstat (limited to 'src/settings/nm-secret-agent.h')
| -rw-r--r-- | src/settings/nm-secret-agent.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/settings/nm-secret-agent.h b/src/settings/nm-secret-agent.h index 54c5b398..64b103aa 100644 --- a/src/settings/nm-secret-agent.h +++ b/src/settings/nm-secret-agent.h @@ -33,8 +33,7 @@ #define NM_SECRET_AGENT_DISCONNECTED "disconnected" typedef struct _NMSecretAgentClass NMSecretAgentClass; - -typedef struct _NMSecretAgentCallId *NMSecretAgentCallId; +typedef struct _NMSecretAgentCallId NMSecretAgentCallId; GType nm_secret_agent_get_type (void); @@ -67,12 +66,12 @@ gboolean nm_secret_agent_has_permission (NMSecretAgent *agent, const char *permission); typedef void (*NMSecretAgentCallback) (NMSecretAgent *agent, - NMSecretAgentCallId call_id, + NMSecretAgentCallId *call_id, GVariant *new_secrets, /* NULL for save & delete */ GError *error, gpointer user_data); -NMSecretAgentCallId nm_secret_agent_get_secrets (NMSecretAgent *agent, +NMSecretAgentCallId *nm_secret_agent_get_secrets (NMSecretAgent *agent, const char *path, NMConnection *connection, const char *setting_name, @@ -82,18 +81,18 @@ NMSecretAgentCallId nm_secret_agent_get_secrets (NMSecretAgent *agent, gpointer callback_data); void nm_secret_agent_cancel_secrets (NMSecretAgent *agent, - NMSecretAgentCallId call_id); - -NMSecretAgentCallId nm_secret_agent_save_secrets (NMSecretAgent *agent, - const char *path, - NMConnection *connection, - NMSecretAgentCallback callback, - gpointer callback_data); - -NMSecretAgentCallId nm_secret_agent_delete_secrets (NMSecretAgent *agent, - const char *path, - NMConnection *connection, - NMSecretAgentCallback callback, - gpointer callback_data); + NMSecretAgentCallId *call_id); + +NMSecretAgentCallId *nm_secret_agent_save_secrets (NMSecretAgent *agent, + const char *path, + NMConnection *connection, + NMSecretAgentCallback callback, + gpointer callback_data); + +NMSecretAgentCallId *nm_secret_agent_delete_secrets (NMSecretAgent *agent, + const char *path, + NMConnection *connection, + NMSecretAgentCallback callback, + gpointer callback_data); #endif /* __NETWORKMANAGER_SECRET_AGENT_H__ */ |