NMVpnConnection: libnm Reference Manual

## NMVpnConnection NMVpnConnection |

## Functions

NMVpnConnectionState | nm_vpn_connection_get_vpn_state ()
const char * | nm_vpn_connection_get_banner ()

## Properties

char * | banner | Read
NMVpnConnectionState | vpn-state | Read

## Signals

void | vpn-state-changed | Run First

## Types and Values

#define | NM_VPN_CONNECTION_VPN_STATE
#define | NM_VPN_CONNECTION_BANNER
| NMVpnConnection

## Object Hierarchy

        GObject
        ╰── NMObject
            ╰── NMActiveConnection
                ╰── NMVpnConnection

## Description

## Functions

### nm_vpn_connection_get_vpn_state ()

    NMVpnConnectionState
    nm_vpn_connection_get_vpn_state (NMVpnConnection *vpn);

### nm_vpn_connection_get_banner ()

    const char *
    nm_vpn_connection_get_banner (NMVpnConnection *vpn);

## Types and Values

### NM_VPN_CONNECTION_VPN_STATE

    #define NM_VPN_CONNECTION_VPN_STATE "vpn-state"

### NM_VPN_CONNECTION_BANNER

    #define NM_VPN_CONNECTION_BANNER    "banner"

### NMVpnConnection

    typedef struct _NMVpnConnection NMVpnConnection;

## Property Details

### The `“banner”` property

      “banner”                   char *

Owner: NMVpnConnection

Flags: Read

Default value: NULL

### The `“vpn-state”` property

      “vpn-state”                NMVpnConnectionState

Owner: NMVpnConnection

Flags: Read

Default value: NM_VPN_CONNECTION_STATE_UNKNOWN

## Signal Details

### The `“vpn-state-changed”` signal

    void
    user_function (NMVpnConnection *nmvpnconnection,
                   guint            arg1,
                   guint            arg2,
                   gpointer         user_data)

Flags: Run First