diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-06 22:55:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-10-17 00:28:28 +0200 |
commit | 8bc2caac55572bc06c4fc6c2f6e2b28104c9f69c (patch) | |
tree | 7fae5fdd18c037e2dab5c7034116137d00d3bb95 /bus/bus.h | |
parent | 904319153eb271202853fc15c49b6d8199d3c78e (diff) |
move desktop file parser from bus/ to dbus/
We want to make use of it for reading the ConsoleKit database which will
need to be implemented in dbus/dbus-userdb-util.c, so let's
move this to dbus/.
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -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 @@ -110,11 +110,11 @@ int bus_context_get_max_services_per_connection (BusContext int bus_context_get_max_match_rules_per_connection (BusContext *context); int bus_context_get_max_replies_per_connection (BusContext *context); int bus_context_get_reply_timeout (BusContext *context); -void bus_context_log_info (BusContext *context, - const char *msg, +void bus_context_log_info (BusContext *context, + const char *msg, ...); void bus_context_log_security (BusContext *context, - const char *msg, + const char *msg, ...); dbus_bool_t bus_context_check_security_policy (BusContext *context, BusTransaction *transaction, @@ -124,4 +124,10 @@ dbus_bool_t bus_context_check_security_policy (BusContext DBusMessage *message, DBusError *error); +#define DBUS_SERVICE_SECTION "D-BUS Service" +#define DBUS_SERVICE_NAME "Name" +#define DBUS_SERVICE_EXEC "Exec" +#define DBUS_SERVICE_USER "User" +#define DBUS_SERVICE_GROUP "Group" + #endif /* BUS_BUS_H */ |