summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-secret-agent.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-01-19 16:59:01 -0600
committerDan Williams <dcbw@redhat.com>2011-01-19 16:59:01 -0600
commit7ddf9c5e724527c49435f5242cb603301521b746 (patch)
tree14bcc4e461a8ff4cc5b96c45283b8a7f5ecd48fe /libnm-glib/nm-secret-agent.h
parent85409427beac38ac0c8586dc37d422c3b3a8d7b6 (diff)
libnm-glib: implement NMSecretAgent autoregistration
Handles registering with NM and re-registering if NM restarts.
Diffstat (limited to 'libnm-glib/nm-secret-agent.h')
-rw-r--r--libnm-glib/nm-secret-agent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libnm-glib/nm-secret-agent.h b/libnm-glib/nm-secret-agent.h
index 6fb470577..60354d563 100644
--- a/libnm-glib/nm-secret-agent.h
+++ b/libnm-glib/nm-secret-agent.h
@@ -54,6 +54,7 @@ enum {
#define NM_SECRET_AGENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SECRET_AGENT, NMSecretAgentClass))
#define NM_SECRET_AGENT_IDENTIFIER "identifier"
+#define NM_SECRET_AGENT_AUTO_REGISTER "auto-register"
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
@@ -143,8 +144,6 @@ typedef struct {
GType nm_secret_agent_get_type (void);
-NMSecretAgent *nm_secret_agent_new (const char *identifier);
-
gboolean nm_secret_agent_register (NMSecretAgent *self);
gboolean nm_secret_agent_unregister (NMSecretAgent *self);