2003-02-15 18:22:40 +00:00
|
|
|
/* -*- mode: C; c-file-style: "gnu" -*- */
|
|
|
|
|
/* activation.h Activation of services
|
|
|
|
|
*
|
|
|
|
|
* Copyright (C) 2003 CodeFactory AB
|
|
|
|
|
*
|
2004-08-10 03:07:01 +00:00
|
|
|
* Licensed under the Academic Free License version 2.1
|
2003-02-15 18:22:40 +00:00
|
|
|
*
|
|
|
|
|
* 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
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef BUS_ACTIVATION_H
|
|
|
|
|
#define BUS_ACTIVATION_H
|
|
|
|
|
|
2003-02-16 10:00:37 +00:00
|
|
|
#include <dbus/dbus.h>
|
2003-04-02 00:29:33 +00:00
|
|
|
#include <dbus/dbus-list.h>
|
2003-03-13 03:52:58 +00:00
|
|
|
#include "bus.h"
|
|
|
|
|
|
2003-03-31 08:19:50 +00:00
|
|
|
BusActivation* bus_activation_new (BusContext *context,
|
2004-03-16 18:00:35 +00:00
|
|
|
const DBusString *address,
|
|
|
|
|
DBusList **directories,
|
|
|
|
|
DBusError *error);
|
2003-11-27 01:25:50 +00:00
|
|
|
BusActivation* bus_activation_ref (BusActivation *activation);
|
2003-03-31 08:19:50 +00:00
|
|
|
void bus_activation_unref (BusActivation *activation);
|
|
|
|
|
dbus_bool_t bus_activation_activate_service (BusActivation *activation,
|
2004-03-16 18:00:35 +00:00
|
|
|
DBusConnection *connection,
|
|
|
|
|
BusTransaction *transaction,
|
|
|
|
|
dbus_bool_t auto_activation,
|
|
|
|
|
DBusMessage *activation_message,
|
|
|
|
|
const char *service_name,
|
|
|
|
|
DBusError *error);
|
2003-03-31 08:19:50 +00:00
|
|
|
dbus_bool_t bus_activation_service_created (BusActivation *activation,
|
2004-03-16 18:00:35 +00:00
|
|
|
const char *service_name,
|
|
|
|
|
BusTransaction *transaction,
|
|
|
|
|
DBusError *error);
|
|
|
|
|
|
|
|
|
|
dbus_bool_t bus_activation_send_pending_auto_activation_messages (BusActivation *activation,
|
|
|
|
|
BusService *service,
|
|
|
|
|
BusTransaction *transaction,
|
|
|
|
|
DBusError *error);
|
|
|
|
|
|
2003-03-31 08:19:50 +00:00
|
|
|
|
2003-02-15 18:22:40 +00:00
|
|
|
|
|
|
|
|
#endif /* BUS_ACTIVATION_H */
|