loudmouth/lm-connection.c
changeset 308 7e2050a6df75
parent 307 f169e9281745
child 311 153357413e1b
equal deleted inserted replaced
307:f169e9281745 308:7e2050a6df75
  2064 
  2064 
  2065 	return connection->state;
  2065 	return connection->state;
  2066 }
  2066 }
  2067 
  2067 
  2068 /**
  2068 /**
       
  2069  * lm_connection_get_client_host:
       
  2070  * @connection: An #LmConnection
       
  2071  *
       
  2072  * Returns the local host name of the connection.
       
  2073  *
       
  2074  * Return value: A newly allocated string representing the local host name.
       
  2075  **/
       
  2076 gchar *
       
  2077 lm_connection_get_local_host (LmConnection *connection)
       
  2078 {
       
  2079 	return lm_socket_get_local_host (connection->socket);
       
  2080 }
       
  2081 
       
  2082 /**
  2069  * lm_connection_ref:
  2083  * lm_connection_ref:
  2070  * @connection: Connection to add a reference to.
  2084  * @connection: Connection to add a reference to.
  2071  * 
  2085  * 
  2072  * Add a reference on @connection. To remove a reference call 
  2086  * Add a reference on @connection. To remove a reference call 
  2073  * lm_connection_unref().
  2087  * lm_connection_unref().