1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
3
* bonobo-activation: A library for accessing bonobo-activation-server.
5
* Copyright (C) 1999, 2000 Red Hat, Inc.
6
* Copyright (C) 2000 Eazel, Inc.
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Library General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Library General Public License for more details.
18
* You should have received a copy of the GNU Library General Public
19
* License along with this library; if not, write to the Free
20
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
* Author: Elliot Lee <sopwith@redhat.com>
24
#ifndef BONOBO_ACTIVATION_ACTIVATE_H
25
#define BONOBO_ACTIVATION_ACTIVATE_H
27
#include <bonobo-activation/Bonobo_Activation_types.h>
31
CORBA_Object bonobo_activation_name_service_get (CORBA_Environment * ev);
34
Bonobo_ServerInfoList *bonobo_activation_query (const char *requirements,
35
char *const *selection_order,
36
CORBA_Environment * ev);
37
CORBA_Object bonobo_activation_activate (const char *requirements,
38
char *const *selection_order,
39
Bonobo_ActivationFlags flags,
40
Bonobo_ActivationID * ret_aid,
41
CORBA_Environment * ev);
42
CORBA_Object bonobo_activation_activate_from_id (const Bonobo_ActivationID aid,
43
Bonobo_ActivationFlags flags,
44
Bonobo_ActivationID * ret_aid,
45
CORBA_Environment * ev);
47
void bonobo_activation_set_activation_env_value (const char *name,
50
Bonobo_DynamicPathLoadResult
51
bonobo_activation_dynamic_add_path (const char *add_path,
52
CORBA_Environment * ev);
54
Bonobo_DynamicPathLoadResult
55
bonobo_activation_dynamic_remove_path (const char *remove_path,
56
CORBA_Environment * ev);
57
#ifndef BONOBO_DISABLE_DEPRECATED
58
/* debugging functions. */
59
void bonobo_activation_set_test_components_enabled (gboolean val);
60
gboolean bonobo_activation_get_test_components_enabled (void);
65
#endif /* BONOBO_ACTIVATION_ACTIVATE_H */