Lines Matching defs:address
31 #include "dbus-address.h"
98 * @param address the address of the transport
105 const DBusString *address)
146 _dbus_assert (address == NULL);
151 _dbus_assert (address != NULL);
153 if (!_dbus_string_copy_data (address, &address_copy))
173 transport->address = address_copy;
203 if (transport->address)
204 _dbus_verbose ("Initialized transport on address %s\n", transport->address);
232 dbus_free (transport->address);
240 * Verifies if a given D-Bus address is a valid address
245 * @param error address where an error can be returned.
249 check_address (const char *address, DBusError *error)
255 _dbus_assert (address != NULL);
257 if (!dbus_parse_address (address, &entries, &len, error))
258 return NULL; /* not a valid address */
275 * @param error address where an error can be returned.
281 DBusString address;
286 if (!_dbus_string_init (&address))
292 if (!_dbus_get_autolaunch_address (scope, &address, error))
298 result = check_address (_dbus_string_get_const_data (&address), error);
305 _dbus_string_free (&address);
357 * Try to open a new transport for the given address entry. (This
360 * @param entry the address entry
421 "Unknown address type (examples of valid types are \"tcp\" and on UNIX \"unix\")");
824 * Gets the address of a transport. It will be
828 * @returns transport's address
833 return transport->address;