about summary refs log tree commit diff
path: root/libnm-glib/nm-ip4-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-glib/nm-ip4-config.h')
-rw-r--r--libnm-glib/nm-ip4-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-glib/nm-ip4-config.h b/libnm-glib/nm-ip4-config.h
index ddff7e0e..373d12e1 100644
--- a/libnm-glib/nm-ip4-config.h
+++ b/libnm-glib/nm-ip4-config.h
@@ -55,6 +55,7 @@ typedef struct {
 } NMIP4ConfigClass;
 
 #define NM_IP4_CONFIG_ADDRESSES "addresses"
+#define NM_IP4_CONFIG_HOSTNAME "hostname" /* DEPRECATED */
 #define NM_IP4_CONFIG_NAMESERVERS "nameservers"
 #define NM_IP4_CONFIG_DOMAINS "domains"
 #define NM_IP4_CONFIG_ROUTES "routes"
@@ -65,6 +66,7 @@ GType nm_ip4_config_get_type (void);
 GObject *nm_ip4_config_new (DBusGConnection *connection, const char *object_path);
 
 const GSList *   nm_ip4_config_get_addresses    (NMIP4Config *config);
+const char *     nm_ip4_config_get_hostname     (NMIP4Config *config); /* DEPRECATED */
 const GArray *   nm_ip4_config_get_nameservers  (NMIP4Config *config);
 const GPtrArray *nm_ip4_config_get_domains      (NMIP4Config *config);
 const GSList *   nm_ip4_config_get_routes       (NMIP4Config *config);