about summary refs log tree commit diff
path: root/src/nm-device-modem.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-05-04 21:35:41 +0200
committerMichael Biebl <biebl@debian.org>2011-05-04 21:35:41 +0200
commit9f806e97a24bba61417ae312fcc0da40914266fb (patch)
tree4a25723414ceac11b4cba0558aa16f6f4b459f4b /src/nm-device-modem.h
parent8baa1aca8dfd35e3190d7d5655eb83b5b901e263 (diff)
Imported Upstream version 0.8.999 upstream/0.8.999
Diffstat (limited to 'src/nm-device-modem.h')
-rw-r--r--src/nm-device-modem.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nm-device-modem.h b/src/nm-device-modem.h
index c6ef4d21..8453e3d9 100644
--- a/src/nm-device-modem.h
+++ b/src/nm-device-modem.h
@@ -15,7 +15,7 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * Copyright (C) 2010 Red Hat, Inc.
+ * Copyright (C) 2011 Red Hat, Inc.
  */
 
 #ifndef NM_DEVICE_MODEM_H
@@ -35,6 +35,8 @@
 #define NM_DEVICE_MODEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_MODEM, NMDeviceModemClass))
 
 #define NM_DEVICE_MODEM_MODEM "modem"
+#define NM_DEVICE_MODEM_CAPABILITIES "modem-capabilities"
+#define NM_DEVICE_MODEM_CURRENT_CAPABILITIES "current-capabilities"
 
 #define NM_DEVICE_MODEM_ENABLE_CHANGED "enable-changed"
 
@@ -45,11 +47,13 @@ typedef struct {
 typedef struct {
 	NMDeviceClass parent;
 
-	void (*ppp_stats) (NMDeviceModem *self, guint32 in_bytes, guint32 out_bytes);
+	void (*properties_changed) (NMDeviceModem *self, GHashTable *properties);
 } NMDeviceModemClass;
 
 GType nm_device_modem_get_type (void);
 
+NMDevice *nm_device_modem_new (NMModem *modem, const char *driver);
+
 /* Private for subclases */
 NMModem *nm_device_modem_get_modem (NMDeviceModem *self);