## ShellNetworkAgent

ShellNetworkAgent

## Synopsis

    enum                ShellNetworkAgentResponse;
    struct              ShellNetworkAgent;
    struct              ShellNetworkAgentClass;
    ShellNetworkAgent * shell_network_agent_new             (void);
    void                shell_network_agent_set_password    (ShellNetworkAgent *self,
                                                             gchar *request_id,
                                                             gchar *setting_key,
                                                             gchar *setting_value);
    void                shell_network_agent_respond         (ShellNetworkAgent *self,
                                                             gchar *request_id,
                                                             ShellNetworkAgentResponse response);
    #define             SHELL_KEYRING_UUID_TAG
    #define             SHELL_KEYRING_SN_TAG
    #define             SHELL_KEYRING_SK_TAG

## Object Hierarchy

      GEnum
       +----ShellNetworkAgentResponse

      GObject
       +----NMSecretAgent
             +----ShellNetworkAgent

## Signals

      "cancel-request"
      "new-request"

## Description

## Details

### enum ShellNetworkAgentResponse

    typedef enum {
      SHELL_NETWORK_AGENT_CONFIRMED,
      SHELL_NETWORK_AGENT_USER_CANCELED,
      SHELL_NETWORK_AGENT_INTERNAL_ERROR
    } ShellNetworkAgentResponse;

`SHELL_NETWORK_AGENT_CONFIRMED` |
`SHELL_NETWORK_AGENT_USER_CANCELED` |
`SHELL_NETWORK_AGENT_INTERNAL_ERROR` |

### struct ShellNetworkAgent

    struct ShellNetworkAgent;

### struct ShellNetworkAgentClass

    struct ShellNetworkAgentClass {
    };

### shell_network_agent_new ()

    ShellNetworkAgent * shell_network_agent_new             (void);

### shell_network_agent_set_password ()

    void                shell_network_agent_set_password    (ShellNetworkAgent *self,
                                                             gchar *request_id,
                                                             gchar *setting_key,
                                                             gchar *setting_value);

### shell_network_agent_respond ()

    void                shell_network_agent_respond         (ShellNetworkAgent *self,
                                                             gchar *request_id,
                                                             ShellNetworkAgentResponse response);

### SHELL_KEYRING_UUID_TAG

    #define SHELL_KEYRING_UUID_TAG "connection-uuid"

### SHELL_KEYRING_SN_TAG

    #define SHELL_KEYRING_SN_TAG "setting-name"

### SHELL_KEYRING_SK_TAG

    #define SHELL_KEYRING_SK_TAG "setting-key"

## Signal Details

### The `"cancel-request"` signal

    void                user_function                      (ShellNetworkAgent *shellnetworkagent,
                                                            gchar             *arg1,
                                                            gpointer           user_data)

### The `"new-request"` signal

    void                user_function                      (ShellNetworkAgent *shellnetworkagent,
                                                            gchar             *arg1,
                                                            NMConnection      *arg2,
                                                            gchar             *arg3,
                                                            GStrv              arg4,
                                                            gint               arg5,
                                                            gpointer           user_data)