Re: nm_device_disconnect
- From: Manuel Yguel <manuel yguel gmail com>
- To: networkmanager-list gnome org
- Subject: Re: nm_device_disconnect
- Date: Wed, 02 Apr 2014 15:42:58 +0200
Thanks a lot Dan,
It worked as you explained.
I will document a minimal example corresponding to my use case and
submit it through the mailing list for the record.
On 04/02/2014 03:18 PM, Dan Winship wrote:
On 04/01/2014 07:08 PM, Manuel Yguel wrote:
Thanks for the answer,
Is there an other way ? Because I want the adhoc network to stop as soon
as possible.
It *will* stop as soon as possible
Plus I do not do anything in the disconnect callback, so I
fear that it is just my callback that is called when the adhoc network
is disconnected (by somebody else or by the fact that the network is not
available anymore) and then that this not the function for my purpose.
No, the callback is only called for the action that you initiated.
Well, well, what I am looking for is the function that is called when in
a GUI the user hit the disconnect button...
Which is nm_device_disconnect().
I took a look at the sources of NetworkManager and I noted that there
are several files called nm-device.h that offer different interfaces.
One of them is the object inside the NetworkManager daemon itself, the
other is the client-side representation of that object.
-- Dan
-- Manuel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]