source: trunk/third/bonobo-activation/bonobo-activation/bonobo-activation-private.h @ 18563

Revision 18563, 3.9 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18562, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2/*
3 *  bonobo-activation: A library for accessing bonobo-activation-server.
4 *
5 *  Copyright (C) 1999, 2000 Red Hat, Inc.
6 *  Copyright (C) 2000 Eazel, Inc.
7 *
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.
12 *
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.
17 *
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.
21 *
22 *  Author: Elliot Lee <sopwith@redhat.com>
23 */
24#ifndef BONOBO_ACTIVATION_PRIVATE_H
25#define BONOBO_ACTIVATION_PRIVATE_H
26
27#include <config.h>
28#include <string.h>
29#include <bonobo-activation/bonobo-activation-base-service.h>
30#include <bonobo-activation/Bonobo_ActivationContext.h>
31
32#define BONOBO_ACTIVATION_FACTORY_TIMEOUT 1000
33
34void         bonobo_activation_timeout_reg_check_set  (gboolean           on);
35gboolean     bonobo_activation_timeout_reg_check      (gpointer           data);
36
37typedef CORBA_Object (*BonoboForkReCheckFn)      (const Bonobo_ActivationEnvironment *environemnt,
38                                                  const char                         *act_iid,
39                                                  gpointer                            user_data,
40                                                  CORBA_Environment                  *ev);
41CORBA_Object bonobo_activation_server_by_forking (const char                        **cmd,
42                                                  gboolean                            set_process_group,
43                                                  int                                 fd_arg,
44                                                  const Bonobo_ActivationEnvironment *environemnt,
45                                                  const char                         *od_iorstr,
46                                                  const char                         *act_iid,
47                                                  BonoboForkReCheckFn                 re_check,
48                                                  gpointer                            user_data,
49                                                  CORBA_Environment                  *ev);
50
51void         bonobo_activation_base_service_init      (void);
52int          bonobo_activation_ior_fd_get             (void);
53CORBA_Object bonobo_activation_activation_context_get (void);
54CORBA_Object bonobo_activation_object_directory_get   (const char        *username,
55                                                       const char        *hostname);
56void         bonobo_activation_init_activation_env    (void);
57
58extern gboolean bonobo_activation_private;
59
60CORBA_Object bonobo_activation_internal_activation_context_get_extended (
61                                                       gboolean           existing_only,
62                                                       CORBA_Environment *ev);
63
64CORBA_Object bonobo_activation_internal_service_get_extended (
65                                                       const BonoboActivationBaseService *base_service,
66                                                       gboolean           existing_only,
67                                                       CORBA_Environment *ev);
68
69gboolean Bonobo_ActivationEnvironment_match (const Bonobo_ActivationEnvironment *a,
70                                             const Bonobo_ActivationEnvironment *b);
71
72void Bonobo_ActivationEnvValue_set  (Bonobo_ActivationEnvValue *env,
73                                     const char                *name,
74                                     const char                *value);
75void Bonobo_ActivationEnvValue_copy (Bonobo_ActivationEnvValue *dest,
76                                     Bonobo_ActivationEnvValue *src);
77
78const GList *bonobo_activation_i18n_get_language_list (const gchar *category_name);
79
80#endif /* BONOBO_ACTIVATION_PRIVATE_H */
81
Note: See TracBrowser for help on using the repository browser.