From bc983ecf15455f49e7a92d038c93e181ae2cb438 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 12 Apr 2003 18:32:11 +0000 Subject: 2003-04-12 Havoc Pennington * bus/policy.h: change BusPolicy to be the thing from the config file, and rename old BusPolicy to BusClientPolicy * bus/bus.c, bus/connection.c, bus/config-parser.c: change to match change in how policy works * dbus/dbus-internals.h: mark assert_not_reached as __attribute((noreturn))__ --- bus/config-parser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bus/config-parser.h') diff --git a/bus/config-parser.h b/bus/config-parser.h index 93d41003..15644ee6 100644 --- a/bus/config-parser.h +++ b/bus/config-parser.h @@ -29,6 +29,7 @@ #include #include #include +#include "bus.h" /* Whatever XML library we're using just pushes data into this API */ @@ -62,6 +63,7 @@ DBusList** bus_config_parser_get_mechanisms (BusConfigParser *parser); dbus_bool_t bus_config_parser_get_fork (BusConfigParser *parser); const char* bus_config_parser_get_pidfile (BusConfigParser *parser); DBusList** bus_config_parser_get_service_dirs (BusConfigParser *parser); +BusPolicy* bus_config_parser_steal_policy (BusConfigParser *parser); /* Loader functions (backended off one of the XML parsers). Returns a * finished ConfigParser. -- cgit