summaryrefslogtreecommitdiff
path: root/src/settings/nm-agent-manager.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-03-29 22:53:22 -0500
committerDan Williams <dcbw@redhat.com>2011-03-29 22:53:22 -0500
commit4e4bfeb4995369793377a09ddf48bfc55001e699 (patch)
treebd6bfc072fee976d1589aba2a548d213e00f4b86 /src/settings/nm-agent-manager.h
parentee259ff79aa6434c449f1fc2c19ab1afde90812a (diff)
downloadNetworkManager-4e4bfeb4995369793377a09ddf48bfc55001e699.tar.gz
core: add nm-secrets-flags.h for secret agent flags typedef
Make it clearer what's going on instead of using flags here and there and numbers elsewhere.
Diffstat (limited to 'src/settings/nm-agent-manager.h')
-rw-r--r--src/settings/nm-agent-manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settings/nm-agent-manager.h b/src/settings/nm-agent-manager.h
index 5e5dca42f6..b17b91aa5d 100644
--- a/src/settings/nm-agent-manager.h
+++ b/src/settings/nm-agent-manager.h
@@ -24,6 +24,7 @@
#include <glib.h>
#include <glib-object.h>
#include <nm-connection.h>
+#include "nm-settings-flags.h"
#define NM_TYPE_AGENT_MANAGER (nm_agent_manager_get_type ())
#define NM_AGENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_AGENT_MANAGER, NMAgentManager))
@@ -50,7 +51,7 @@ typedef void (*NMAgentSecretsResultFunc) (NMAgentManager *manager,
const char *agent_dbus_owner,
gboolean agent_has_modify,
const char *setting_name,
- guint32 flags,
+ NMSettingsGetSecretsFlags flags,
GHashTable *secrets,
GError *error,
gpointer user_data,
@@ -63,7 +64,7 @@ guint32 nm_agent_manager_get_secrets (NMAgentManager *manager,
gulong uid,
GHashTable *existing_secrets,
const char *setting_name,
- guint32 flags,
+ NMSettingsGetSecretsFlags flags,
const char *hint,
NMAgentSecretsResultFunc callback,
gpointer callback_data,