loudmouth/lm-connection.c
changeset 308 7e2050a6df75
parent 307 f169e9281745
child 311 153357413e1b
--- a/loudmouth/lm-connection.c	Tue Oct 30 23:22:09 2007 +0100
+++ b/loudmouth/lm-connection.c	Tue Oct 30 23:27:30 2007 +0100
@@ -2066,6 +2066,20 @@
 }
 
 /**
+ * lm_connection_get_client_host:
+ * @connection: An #LmConnection
+ *
+ * Returns the local host name of the connection.
+ *
+ * Return value: A newly allocated string representing the local host name.
+ **/
+gchar *
+lm_connection_get_local_host (LmConnection *connection)
+{
+	return lm_socket_get_local_host (connection->socket);
+}
+
+/**
  * lm_connection_ref:
  * @connection: Connection to add a reference to.
  *