~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to bonobo-activation/bonobo-activation-id.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-02-18 14:40:51 UTC
  • mto: (3.1.1 etch) (1.1.25 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050218144051-fo4h9qh2gim8x3wt
Tags: upstream-2.8.1
ImportĀ upstreamĀ versionĀ 2.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_ID_H
 
25
#define BONOBO_ACTIVATION_ID_H
 
26
 
 
27
#ifndef BONOBO_DISABLE_DEPRECATED
 
28
 
 
29
#include <bonobo-activation/Bonobo_Activation_types.h>
 
30
 
 
31
G_BEGIN_DECLS
 
32
 
 
33
/* If you wish to manipulate the internals of this structure, please
 
34
   use g_malloc/g_free to allocate memory. */
 
35
typedef struct
 
36
{
 
37
        char *iid;              /* Implementation ID */
 
38
        char *user;             /* user name */
 
39
        char *host;             /* DNS name or IP address */
 
40
        char *domain;           /* FIXME: unused - remove ? */
 
41
}
 
42
BonoboActivationInfo;
 
43
 
 
44
 
 
45
Bonobo_ActivationID    bonobo_activation_info_stringify      (const BonoboActivationInfo *actinfo);
 
46
BonoboActivationInfo  *bonobo_activation_servinfo_to_actinfo (const Bonobo_ServerInfo    *servinfo);
 
47
BonoboActivationInfo  *bonobo_activation_id_parse            (const CORBA_char           *actid);
 
48
BonoboActivationInfo  *bonobo_activation_info_new            (void);
 
49
void                   bonobo_activation_info_free           (BonoboActivationInfo       *actinfo);
 
50
 
 
51
G_END_DECLS
 
52
 
 
53
#endif /* BONOBO_DISABLE_DEPRECATED */
 
54
 
 
55
#endif /* BONOBO_ACTIVATION_ID_H */