equal
deleted
inserted
replaced
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(). |