/* NetworkManager -- Network link manager * * Dan Williams * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * (C) Copyright 2004 Red Hat, Inc. */ #ifndef NETWORK_MANAGER_H #define NETWORK_MANAGER_H #include #include #include #include #include "NetworkManagerAP.h" struct NMData { LibHalContext *hal_ctx; DBusConnection *dbus_connection; gboolean info_daemon_avail; GSList *dev_list; GMutex *dev_list_mutex; struct NMDevice *active_device; struct NMDevice *pending_device; gboolean state_modified; GMutex *state_modified_mutex; gboolean update_ap_lists; struct NMAccessPointList *trusted_ap_list; struct NMAccessPointList *preferred_ap_list; struct NMAccessPointList *invalid_ap_list; }; typedef struct NMData NMData; void nm_data_set_state_modified (NMData *data, gboolean modified); #endif