From 921bc585ca44b02684d368058a8df8300342dcd0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 May 2010 02:27:44 +0200 Subject: bus: add --address switch This is allows overriding of the listening address on the command line, which is particularly useful for systemd socket-based activation. --- bus/bus.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bus/bus.h') diff --git a/bus/bus.h b/bus/bus.h index 7eb5fd8b..b5c7c200 100644 --- a/bus/bus.h +++ b/bus/bus.h @@ -4,7 +4,7 @@ * Copyright (C) 2003 Red Hat, Inc. * * Licensed under the Academic Free License version 2.1 - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -14,7 +14,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA @@ -75,6 +75,7 @@ BusContext* bus_context_new (const DBusStri ForceForkSetting force_fork, DBusPipe *print_addr_pipe, DBusPipe *print_pid_pipe, + const DBusString *address, DBusError *error); dbus_bool_t bus_context_reload_config (BusContext *context, DBusError *error); -- cgit v1.2.3