~ubuntu-branches/debian/lenny/network-manager/lenny

« back to all changes in this revision

Viewing changes to gnome/applet/nm-gconf-wso-wep.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2008-07-05 15:11:33 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705151133-rnwi7uuhda2iulug
Tags: 0.6.6-2
* debian/control
  - Add Build-Depends on pkg-config.
  - Drop obsolete Depends on iputils-arping. (Closes: #487794)
* debian/patches/09-nm_dbus_get_ap_from_object_path-mem_leak_fix.patch 
  - Fix memory leak in src/nm-dbus-net.c. (Closes: #488604)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* NetworkManager -- Network link manager
2
 
 *
3
 
 * Dan Williams <dcbw@redhat.com>
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or
8
 
 * (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 * GNU General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
 
 *
19
 
 * (C) Copyright 2005 Red Hat, Inc.
20
 
 */
21
 
 
22
 
#ifndef NM_GCONF_WSO_WEP_H
23
 
#define NM_GCONF_WSO_WEP_H
24
 
 
25
 
#include <glib-object.h>
26
 
#include <dbus/dbus.h>
27
 
#include <gconf/gconf-client.h>
28
 
#include "nm-gconf-wso-wep.h"
29
 
 
30
 
#define NM_TYPE_GCONF_WSO_WEP                   (nm_gconf_wso_wep_get_type ())
31
 
#define NM_GCONF_WSO_WEP(obj)                   (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_GCONF_WSO_WEP, NMGConfWSOWEP))
32
 
#define NM_GCONF_WSO_WEP_CLASS(klass)           (G_TYPE_CHECK_CLASS_CAST ((klass),  NM_TYPE_GCONF_WSO_WEP, NMGConfWSOWEPClass))
33
 
#define NM_IS_GCONF_WSO_WEP(obj)                        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_GCONF_WSO_WEP))
34
 
#define NM_IS_GCONF_WSO_WEP_CLASS(klass)        (G_TYPE_CHECK_CLASS_TYPE ((klass),  NM_TYPE_GCONF_WSO_WEP))
35
 
#define NM_GCONF_WSO_WEP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),  NM_TYPE_GCONF_WSO_WEP, NMGConfWSOWEPClass))
36
 
 
37
 
typedef struct _NMGConfWSOWEP NMGConfWSOWEP;
38
 
typedef struct _NMGConfWSOWEPClass NMGConfWSOWEPClass;
39
 
typedef struct _NMGConfWSOWEPPrivate NMGConfWSOWEPPrivate;
40
 
 
41
 
struct _NMGConfWSOWEP
42
 
{
43
 
        NMGConfWSO parent;
44
 
 
45
 
        /*< private >*/
46
 
        NMGConfWSOWEPPrivate *priv;
47
 
};
48
 
 
49
 
struct _NMGConfWSOWEPClass
50
 
{
51
 
        NMGConfWSOClass parent;
52
 
};
53
 
 
54
 
 
55
 
GType nm_gconf_wso_wep_get_type (void);
56
 
 
57
 
NMGConfWSOWEP * nm_gconf_wso_wep_new_deserialize_dbus (DBusMessageIter *iter,
58
 
                                                        int we_cipher);
59
 
 
60
 
NMGConfWSOWEP * nm_gconf_wso_wep_new_deserialize_gconf (GConfClient *client,
61
 
                                                        const char *network,
62
 
                                                        int we_cipher);
63
 
 
64
 
#endif  /* NM_GCONF_WSO_WEP_H */