mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
* refactor NMDevice into a GObject-based framework with separate objects for wired and wireless. The following files are no longer used but should stick around for a bit so we don't loose code through the cracks: NetworkManagerDevice.c NetworkManagerDevice.h NetworkManagerWireless.c NetworkManagerWireless.h The intent here is to allow each device type to manage its own connection & activation life-cycle, ie to allow wireless devices to interface with wpa_supplicant, etc. There's a fair bit of encapsulation breakage right now that should gradually get pulled back into each device, along with things like periodic property updates and link probing. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1244 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
59 lines
2.3 KiB
C
59 lines
2.3 KiB
C
/* NetworkManager -- Network link manager
|
|
*
|
|
* Dan Williams <dcbw@redhat.com>
|
|
*
|
|
* 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 2005 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef NM_ACTIVATION_REQUEST_H
|
|
#define NM_ACTIVATION_REQUEST_H
|
|
|
|
#include <glib.h>
|
|
#include <dbus/dbus.h>
|
|
#include "NetworkManager.h"
|
|
#include "NetworkManagerMain.h"
|
|
#include "nm-device.h"
|
|
#include "NetworkManagerAP.h"
|
|
#include "nm-ip4-config.h"
|
|
|
|
|
|
|
|
NMActRequest * nm_act_request_new (NMData *data, NMDevice *dev, NMAccessPoint *ap, gboolean user_requested);
|
|
void nm_act_request_ref (NMActRequest *req);
|
|
void nm_act_request_unref (NMActRequest *req);
|
|
|
|
NMDevice * nm_act_request_get_dev (NMActRequest *req);
|
|
NMData * nm_act_request_get_data (NMActRequest *req);
|
|
NMAccessPoint * nm_act_request_get_ap (NMActRequest *req);
|
|
gboolean nm_act_request_get_user_requested (NMActRequest *req);
|
|
|
|
NMIP4Config * nm_act_request_get_ip4_config (NMActRequest *req);
|
|
void nm_act_request_set_ip4_config (NMActRequest *req, NMIP4Config *ip4_config);
|
|
|
|
NMActStage nm_act_request_get_stage (NMActRequest *req);
|
|
void nm_act_request_set_stage (NMActRequest *req, NMActStage stage);
|
|
|
|
DBusPendingCall * nm_act_request_get_user_key_pending_call (NMActRequest *req);
|
|
void nm_act_request_set_user_key_pending_call (NMActRequest *req, DBusPendingCall *pcall);
|
|
|
|
guint8 nm_act_request_get_dhcp_state (NMActRequest *req);
|
|
void nm_act_request_set_dhcp_state (NMActRequest *req, guint8 dhcp_state);
|
|
|
|
guint nm_act_request_get_dhcp_timeout (NMActRequest *req);
|
|
void nm_act_request_set_dhcp_timeout (NMActRequest *req, guint dhcp_timeout);
|
|
|
|
#endif
|