28#include "dbus-internals.h" 
   29#include "dbus-server-win.h" 
   30#include "dbus-server-socket.h" 
   62  if (strcmp (method, 
"autolaunch") == 0)
 
   64      const char *host = 
"localhost";
 
   65      const char *bind = 
"localhost";
 
   66      const char *port = 
"0";
 
   67      const char *family = 
"ipv4";
 
   70      if (_dbus_daemon_is_session_bus_address_published (scope))
 
   71          return DBUS_SERVER_LISTEN_ADDRESS_ALREADY_USED;
 
   74                                                   family, error, 
FALSE);
 
   77          _DBUS_ASSERT_ERROR_IS_CLEAR(error);
 
   78          (*server_p)->published_address =
 
   79              _dbus_daemon_publish_session_bus_address ((*server_p)->address, scope);
 
   80          return DBUS_SERVER_LISTEN_OK;
 
   85          _dbus_daemon_unpublish_session_bus_address ();
 
   86          _DBUS_ASSERT_ERROR_IS_SET(error);
 
   87          return DBUS_SERVER_LISTEN_DID_NOT_CONNECT;
 
   92       _DBUS_ASSERT_ERROR_IS_CLEAR(error);
 
   93       return DBUS_SERVER_LISTEN_NOT_HANDLED;
 
 
const char * dbus_address_entry_get_method(DBusAddressEntry *entry)
Returns the method string of an address entry.
const char * dbus_address_entry_get_value(DBusAddressEntry *entry, const char *key)
Returns a value from a key of an entry.
#define NULL
A null pointer, defined appropriately for C or C++.
#define FALSE
Expands to "0".
DBusServer * _dbus_server_new_for_tcp_socket(const char *host, const char *bind, const char *port, const char *family, DBusError *error, dbus_bool_t use_nonce)
Creates a new server listening on TCP.
DBusServerListenResult _dbus_server_listen_platform_specific(DBusAddressEntry *entry, DBusServer **server_p, DBusError *error)
Tries to interpret the address entry in a platform-specific way, creating a platform-specific server ...
Internals of DBusAddressEntry.
Object representing an exception.
Internals of DBusServer object.