summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-client.h
diff options
context:
space:
mode:
authorTambet Ingo <tambet@gmail.com>2007-09-12 16:23:53 +0000
committerTambet Ingo <tambet@gmail.com>2007-09-12 16:23:53 +0000
commit326d1e8679f08135c1a7a16382e26b34eda20db4 (patch)
tree57001957ab63b1d1554ab84adc2d8b241c4f8b5e /libnm-glib/nm-client.h
parentbe3a380b08ab2d07f257eff662fa49cfd9e109f6 (diff)
downloadNetworkManager-326d1e8679f08135c1a7a16382e26b34eda20db4.tar.gz
2007-09-12 Tambet Ingo <tambet@gmail.com>
* src/vpn-manager/nm-vpn-connection.[ch]: * src/vpn-manager/nm-vpn-manager.[ch]: * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling * code. Using dbus-glib, GObjects, signals etc. * libnm-glib/nm-vpn-manager.[ch]: * libnm-glib/nm-vpn-connection.[ch]: Now that the NM * implementation changed so much, rewrite these too. * libnm-glib/Makefile.am: Add new files to build, build new * binding files for the new introspection files. * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from * here. * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that * was shadowing the header with the same name from libnm-utils. * libnm-glib/nm-vpn-plugin.[ch]: Implement. * libnm-util/Makefile.am: Add nm-utils.[ch] to build. * introspection/nm-vpn-plugin.xml: Implement. * introspection/nm-vpn-connection.xml: Implement. * introspection/nm-vpn-manager.xml: Implement. * src/NetworkManagerSystem.c * (nm_system_vpn_device_set_from_ip4_config): Remove the named manager argument, it can just as easily get it as the caller. (nm_system_vpn_device_unset_from_ip4_config): Ditto. * src/vpn-manager/nm-dbus-vpn.[ch]: Remove. * src/nm-dbus-manager.h: Fix up the name_owner signal signature. * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, * use one from libnm-utils. * libnm-util/nm-connection.c: Ditto. * src/NetworkManagerMain.h: Remove, it's finally empty. * configure.in: Remove utils/ from build. * include/NetworkManagerVPN.h: Add some more defines to reduce * the amount of hard-coded strings. * utils/: Move it over to libnm-util. * test/Makefile.am: Link against libnm-util now that util/ is * gone. * dispatcher-daemon/Makefile.am: Ditto. * src/Makefile.am: Ditto. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2798 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-client.h')
-rw-r--r--libnm-glib/nm-client.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/libnm-glib/nm-client.h b/libnm-glib/nm-client.h
index f6cb3375b9..2df065a828 100644
--- a/libnm-glib/nm-client.h
+++ b/libnm-glib/nm-client.h
@@ -6,10 +6,8 @@
#include <glib-object.h>
#include <dbus/dbus-glib.h>
#include <NetworkManager.h>
-#include <NetworkManagerVPN.h>
#include "nm-object.h"
#include "nm-device.h"
-#include "nm-vpn-connection.h"
G_BEGIN_DECLS
@@ -32,10 +30,6 @@ typedef struct {
void (*device_added) (NMClient *client, NMDevice *device);
void (*device_removed) (NMClient *client, NMDevice *device);
void (*state_change) (NMClient *client, NMState state);
-
- void (*vpn_connection_added) (NMClient *client, NMVPNConnection *connection);
- void (*vpn_connection_removed) (NMClient *client, NMVPNConnection *connection);
- void (*vpn_state_change) (NMClient *client, NMVPNConnectionState state);
} NMClientClass;
GType nm_client_get_type (void);
@@ -53,17 +47,6 @@ void nm_client_wireless_set_enabled (NMClient *client, gboolean enabled);
NMState nm_client_get_state (NMClient *client);
void nm_client_sleep (NMClient *client, gboolean sleep);
-/* VPN */
-
-GSList *nm_client_get_vpn_connections (NMClient *client);
-NMVPNConnection *nm_client_get_vpn_connection_by_name (NMClient *client,
- const char *name);
-
-void nm_client_remove_vpn_connection (NMClient *client,
- NMVPNConnection *connection);
-
-NMVPNConnectionState nm_client_get_vpn_state (NMClient *client);
-
G_END_DECLS
#endif /* NM_CLIENT_H */