diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-06-16 14:30:18 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-06-16 14:30:18 +0000 |
commit | a6957b9ac1e95063c71654cd7c352bc9b634754e (patch) | |
tree | 6b4c707057909ab5bc808848bd0cb30062bcf26f /hcid/server.c | |
parent | 9fd6757e19e57f085b2ebf72b1078edbd4b7285e (diff) |
Propagate local server address to services
Diffstat (limited to 'hcid/server.c')
-rw-r--r-- | hcid/server.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/server.c b/hcid/server.c index 702002c7..e055efff 100644 --- a/hcid/server.c +++ b/hcid/server.c @@ -59,6 +59,11 @@ static void handle_connection(DBusServer *server, DBusConnection *conn, void *da static DBusServer *server = NULL; +char *get_local_server_address(void) +{ + return dbus_server_get_address(server); +} + void init_local_server(void) { DBusError err; |