From 33491bc4279481db8ae47213e34a6d695a0e8830 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 6 Jul 2014 02:16:10 +0200 Subject: Imported Upstream version 0.9.10.0 --- docs/libnm-glib/html/NMDeviceVlan.html | 530 +++++++++++++++------------------ 1 file changed, 241 insertions(+), 289 deletions(-) (limited to 'docs/libnm-glib/html/NMDeviceVlan.html') diff --git a/docs/libnm-glib/html/NMDeviceVlan.html b/docs/libnm-glib/html/NMDeviceVlan.html index b7952355..89e4a9ce 100644 --- a/docs/libnm-glib/html/NMDeviceVlan.html +++ b/docs/libnm-glib/html/NMDeviceVlan.html @@ -2,28 +2,36 @@ -libnm-glib Reference Manual: NMDeviceVlan +NMDeviceVlan - + - - - - - - - + + + + + + + + + +
@@ -31,368 +39,312 @@

NMDeviceVlan

NMDeviceVlan

- +
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceVlan
+
+
+
+

Implemented Interfaces

+

+NMDeviceVlan implements + GInitable and GAsyncInitable.

+
+
+

Properties

+
+  "carrier"                  gboolean              : Read
+  "hw-address"               gchar*                : Read
+  "vlan-id"                  guint                 : Read
+
+
+
+

Description

+

+

+
-

Functions

-
+

Details

+
+

enum NMDeviceVlanError

+
typedef enum {
+	NM_DEVICE_VLAN_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
+	NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION,     /*< nick=NotVlanConnection >*/
+	NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION, /*< nick=InvalidVlanConnection >*/
+	NM_DEVICE_VLAN_ERROR_ID_MISMATCH,             /*< nick=IdMismatch >*/
+	NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH,      /*< nick=InterfaceMismatch >*/
+	NM_DEVICE_VLAN_ERROR_MAC_MISMATCH,            /*< nick=MacMismatch >*/
+} NMDeviceVlanError;
+
+
--++ - - + - - + - - + - - + - + - - - -
-GQuark - -nm_device_vlan_error_quark () +

NM_DEVICE_VLAN_ERROR_UNKNOWN

unknown or unclassified error
-GObject * - -nm_device_vlan_new () +

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

the connection was not of VLAN type
const char * - -nm_device_vlan_get_hw_address () +

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

the VLAN connection was invalid
-gboolean - -nm_device_vlan_get_carrier () +

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

the VLAN identifiers of the connection and the device mismatched
-guint +

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched -nm_device_vlan_get_vlan_id () -
-
-
-

Properties

-
----- - - - - - - - - - - - - - + +
gbooleancarrierRead
-gchar *hw-addressRead
guintvlan-idRead

NM_DEVICE_VLAN_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +
-
-

Types and Values

-
+
+
+

NM_DEVICE_VLAN_ERROR

+
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
+
+

+

+
+
+
+

nm_device_vlan_error_quark ()

+
GQuark              nm_device_vlan_error_quark          (void);
+

+Registers an error quark for NMDeviceVlan if necessary. +

+
--++ - - - - - - - - - - - - - - - - - - - - - - + + + +
enumNMDeviceVlanError
#defineNM_DEVICE_VLAN_ERROR
#defineNM_DEVICE_VLAN_HW_ADDRESS
#defineNM_DEVICE_VLAN_CARRIER
#defineNM_DEVICE_VLAN_VLAN_ID

Returns :

the error quark used for NMDeviceVlan errors.
-
-

Object Hierarchy

-
    GObject
-    ╰── NMObject
-        ╰── NMDevice
-            ╰── NMDeviceVlan
+
+
+

NM_DEVICE_VLAN_HW_ADDRESS

+
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
 
+

+

-
-

Description

+
+
+

NM_DEVICE_VLAN_CARRIER

+
#define NM_DEVICE_VLAN_CARRIER     "carrier"
+

-
-

Functions

+
-

nm_device_vlan_error_quark ()

-
GQuark
-nm_device_vlan_error_quark (void);
-

Registers an error quark for NMDeviceVlan if necessary.

-
-

Returns

-

the error quark used for NMDeviceVlan errors.

-

+

NM_DEVICE_VLAN_VLAN_ID

+
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
+
+

+

+
+
+

NMDeviceVlan

+
typedef struct _NMDeviceVlan NMDeviceVlan;
+

+


-

nm_device_vlan_new ()

-
GObject *
-nm_device_vlan_new (DBusGConnection *connection,
-                    const char *path);
-

Creates a new NMDeviceVlan.

-
-

Parameters

-
+

NMDeviceVlanClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMDeviceVlanClass;
+
+

+

+ +
+
+

nm_device_vlan_new ()

+
GObject *           nm_device_vlan_new                  (DBusGConnection *connection,
+                                                         const char *path);
+

+Creates a new NMDeviceVlan. +

+
---++ - - - + + + + + + - - - + +

connection

the DBusGConnection

 

connection :

the DBusGConnection +

path :

the DBus object path of the device

path

the DBus object path of the device

 

Returns :

a new device. [transfer full] +
-
-

Returns

-

a new device.

-

[transfer full]

-
-

-

nm_device_vlan_get_hw_address ()

-
const char *
-nm_device_vlan_get_hw_address (NMDeviceVlan *device);
-

Gets the hardware (MAC) address of the NMDeviceVlan

-
-

Parameters

-
+

nm_device_vlan_get_hw_address ()

+
const char *        nm_device_vlan_get_hw_address       (NMDeviceVlan *device);
+

+Gets the hardware (MAC) address of the NMDeviceVlan +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceVlan

 

device :

a NMDeviceVlan +

Returns :

the hardware address. This is the internal string used by the +device, and must not be modified.
-
-

Returns

-

the hardware address. This is the internal string used by the -device, and must not be modified.

-

-
-

-

nm_device_vlan_get_carrier ()

-
gboolean
-nm_device_vlan_get_carrier (NMDeviceVlan *device);
-

Whether the device has carrier.

-
-

Parameters

-
+

nm_device_vlan_get_carrier ()

+
gboolean            nm_device_vlan_get_carrier          (NMDeviceVlan *device);
+

+Whether the device has carrier. +

+
---++ - - - - - + + + + + + + + + +

device

a NMDeviceVlan

 

device :

a NMDeviceVlan +

Returns :

+TRUE if the device has carrier
-
-

Returns

-

TRUE if the device has carrier

-

-
-

-

nm_device_vlan_get_vlan_id ()

-
guint
-nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
-
-

Parameters

-
+

nm_device_vlan_get_vlan_id ()

+
guint               nm_device_vlan_get_vlan_id          (NMDeviceVlan *device);
+
---- - - - - - -

device

a NMDeviceVlan

 
-
-
-

Returns

-

the device's VLAN ID

-

-
-
-
-
-

Types and Values

-
-

enum NMDeviceVlanError

-
-

Members

-
----++ - - - - - - - - - - - - - - - - - + - - - - + +

NM_DEVICE_VLAN_ERROR_UNKNOWN

-

unknown or unclassified error

-
 

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

-

the connection was not of VLAN type

-
 

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

-

the VLAN connection was invalid

-
 

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

-

the VLAN identifiers of the connection and the device mismatched

+

device :

a NMDeviceVlan  

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

-

the interfaces of the connection and the device mismatched

-
 

Returns :

the device's VLAN ID
-
+
+

Property Details

-

NM_DEVICE_VLAN_ERROR

-
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
-
-

-

-
-
-
-

NM_DEVICE_VLAN_HW_ADDRESS

-
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
-
+

The "carrier" property

+
  "carrier"                  gboolean              : Read

+Whether the device has carrier.

+

Default value: FALSE


-

NM_DEVICE_VLAN_CARRIER

-
#define NM_DEVICE_VLAN_CARRIER     "carrier"
-
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read

+The hardware (MAC) address of the device.

+

Default value: NULL


-

NM_DEVICE_VLAN_VLAN_ID

-
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
-
+

The "vlan-id" property

+
  "vlan-id"                  guint                 : Read

+The device's VLAN ID.

-
-
-
-

Property Details

-
-

The “carrier” property

-
  “carrier”                  gboolean
-

Carrier.

-

Flags: Read

-

Default value: FALSE

-
-
-
-

The “hw-address” property

-
  “hw-address”               gchar *
-

Currently set hardware MAC address.

-

Flags: Read

-

Default value: NULL

-
-
-
-

The “vlan-id” property

-
  “vlan-id”                  guint
-

VLAN ID.

-

Flags: Read

Allowed values: <= 4095

Default value: 0

@@ -400,6 +352,6 @@ nm_device_vlan_get_vlan_id (
- Generated by GTK-Doc V1.20
+ Generated by GTK-Doc V1.19
\ No newline at end of file -- cgit 1.3.0-6-gf8a5