activation.h 2.27 KB
Newer Older
1 2 3 4 5
/* -*- mode: C; c-file-style: "gnu" -*- */
/* activation.h  Activation of services
 *
 * Copyright (C) 2003  CodeFactory AB
 *
6
 * Licensed under the Academic Free License version 2.0
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
 * 
 * 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

27
#include <dbus/dbus.h>
28
#include <dbus/dbus-list.h>
29 30
#include "bus.h"

31 32
BusActivation* bus_activation_new              (BusContext        *context,
                                                const DBusString  *address,
33
                                                DBusList         **directories,
34
                                                DBusError         *error);
35
BusActivation* bus_activation_ref              (BusActivation     *activation);
36 37 38
void           bus_activation_unref            (BusActivation     *activation);
dbus_bool_t    bus_activation_activate_service (BusActivation     *activation,
                                                DBusConnection    *connection,
39
                                                BusTransaction    *transaction,
40 41 42 43 44
                                                DBusMessage       *activation_message,
                                                const char        *service_name,
                                                DBusError         *error);
dbus_bool_t    bus_activation_service_created  (BusActivation     *activation,
                                                const char        *service_name,
45
                                                BusTransaction    *transaction,
46 47
                                                DBusError         *error);

48 49

#endif /* BUS_ACTIVATION_H */