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

« back to all changes in this revision

Viewing changes to gnome/applet/applet-dbus-devices.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
 
/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
2
 
/* NetworkManager Wireless Applet -- Display wireless access points and allow user control
3
 
 *
4
 
 * Dan Williams <dcbw@redhat.com>
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
 
 *
20
 
 * (C) Copyright 2004-2005 Red Hat, Inc.
21
 
 */
22
 
 
23
 
#ifndef APPLET_DBUS_DEVICES_H
24
 
#define APPLET_DBUS_DEVICES_H
25
 
 
26
 
#include <glib.h>
27
 
#include <dbus/dbus.h>
28
 
#include "NetworkManager.h"
29
 
#include "applet.h"
30
 
#include "nm-device.h"
31
 
#include "wireless-network.h"
32
 
#include "wireless-security-option.h"
33
 
 
34
 
void                    nma_dbus_update_one_vpn_connection              (DBusConnection *connection, const char *name, NMApplet *applet, gboolean is_active);
35
 
void                    nma_dbus_update_vpn_connections                 (NMApplet *applet);
36
 
gboolean                nma_dbus_update_device_strength                 (NMApplet *applet);
37
 
 
38
 
void                    nma_dbus_update_nm_state                                (NMApplet *applet);
39
 
 
40
 
void                    nma_dbus_update_devices                                 (NMApplet *applet);
41
 
void                    nma_dbus_update_dialup                                  (NMApplet *applet);
42
 
void                    nma_dbus_dialup_activate_connection             (NMApplet *applet, const char *name);
43
 
void                    nma_dbus_dialup_deactivate_connection           (NMApplet *applet, const char *name);
44
 
void                    nma_dbus_device_update_one_device                       (NMApplet *applet, const char *dev_path);
45
 
void                    nma_dbus_device_activated                               (NMApplet *applet, const char *dev_path, const char *essid);
46
 
void                    nma_dbus_device_deactivated                             (NMApplet *applet, const char *dev_path);
47
 
void                    nma_dbus_device_remove_one_device                       (NMApplet *applet, const char *dev_path);
48
 
 
49
 
void                    nma_dbus_device_update_one_network              (NMApplet *applet, const char *dev_path, const char *net_path, const char *active_net_path);
50
 
void                    nma_dbus_device_remove_one_network              (NMApplet *applet, const char *dev_path, const char *net_path);
51
 
void                    nma_dbus_update_strength                                (NMApplet *applet, const char *dev_path, const char *net_path, int strength);
52
 
void                    nma_dbus_set_device                                     (DBusConnection *connection, NetworkDevice *dev, const char *essid, WirelessSecurityOption *opt);
53
 
void                    nma_dbus_create_network                                 (DBusConnection *connection, NetworkDevice *dev, const char *essid, WirelessSecurityOption *opt);
54
 
 
55
 
void                    nma_free_data_model                                     (NMApplet *applet);
56
 
 
57
 
#endif