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 _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
