## ShellNetworkAgent ShellNetworkAgent |

## Synopsis

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

## Object Hierarchy

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

      GEnum
       +----ShellNetworkAgentResponse

## Signals

      "cancel-request"
      "new-request"

## Description

## Details

### SHELL_KEYRING_SK_TAG

    #define SHELL_KEYRING_SK_TAG "setting-key"

### SHELL_KEYRING_SN_TAG

    #define SHELL_KEYRING_SN_TAG "setting-name"

### SHELL_KEYRING_UUID_TAG

    #define SHELL_KEYRING_UUID_TAG "connection-uuid"

### struct ShellNetworkAgent

    struct ShellNetworkAgent;

### struct ShellNetworkAgentClass

    struct ShellNetworkAgentClass {
    };

### enum ShellNetworkAgentResponse

    typedef enum {
      SHELL_NETWORK_AGENT_CONFIRMED,
      SHELL_NETWORK_AGENT_USER_CANCELED,
      SHELL_NETWORK_AGENT_INTERNAL_ERROR
    } ShellNetworkAgentResponse;

### shell_network_agent_new ()

    ShellNetworkAgent * shell_network_agent_new             (void);

### shell_network_agent_respond ()

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

### shell_network_agent_set_password ()

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

## 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)