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_INIT_H |
---|
25 | #define BONOBO_ACTIVATION_INIT_H |
---|
26 | |
---|
27 | #include <orbit/orbit.h> |
---|
28 | #include <popt.h> |
---|
29 | |
---|
30 | G_BEGIN_DECLS |
---|
31 | |
---|
32 | CORBA_ORB bonobo_activation_orb_init (int *argc, |
---|
33 | char **argv); |
---|
34 | CORBA_ORB bonobo_activation_orb_get (void); |
---|
35 | |
---|
36 | gboolean bonobo_activation_is_initialized (void); |
---|
37 | CORBA_ORB bonobo_activation_init (int argc, |
---|
38 | char **argv); |
---|
39 | void bonobo_activation_preinit (gpointer app, |
---|
40 | gpointer mod_info); |
---|
41 | void bonobo_activation_postinit (gpointer app, |
---|
42 | gpointer mod_info); |
---|
43 | |
---|
44 | CORBA_Context bonobo_activation_context_get (void); |
---|
45 | |
---|
46 | const char *bonobo_activation_hostname_get (void); |
---|
47 | const char *bonobo_activation_session_name_get (void); |
---|
48 | /* FIXME: unused - remove ? */ |
---|
49 | const char *bonobo_activation_domain_get (void); |
---|
50 | #define bonobo_activation_username_get() g_get_user_name() |
---|
51 | |
---|
52 | char *bonobo_activation_get_popt_table_name (void); |
---|
53 | gboolean bonobo_activation_debug_shutdown (void); |
---|
54 | |
---|
55 | extern struct poptOption bonobo_activation_popt_options[]; |
---|
56 | |
---|
57 | G_END_DECLS |
---|
58 | |
---|
59 | #endif /* BONOBO_ACTIVATION_INIT_H */ |
---|
60 | |
---|