summaryrefslogtreecommitdiff
path: root/src/nm-firewall-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* core: declare nm_firewall_manager_get() using NM_DEFINE_SINGLETON_GETTER()Thomas Haller2015-01-121-12/+1
|
* firewall: always complete callbacks asynchronouslyThomas Haller2014-11-191-31/+99
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* firewall: invoke FwAddToZoneFunc callback also when cancellingThomas Haller2014-11-191-1/+10
| | | | | | | | | | | | Not invoking a callback when cancelling the operation is counter intuitive. Note that NMPolicy refs the device, cancelling the call would leave the reference hanging. That was not an issue because the call was never cancelled. But still the behavior of NMFirewallManager is unexpected. Signed-off-by: Thomas Haller <thaller@redhat.com>
* firewall: make call handle an opaque pointer typeThomas Haller2014-11-191-21/+21
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* firewall: allow passing NULL callback to ↵Thomas Haller2014-11-191-2/+4
| | | | | | nm_firewall_manager_add_or_change_zone() Signed-off-by: Thomas Haller <thaller@redhat.com>
* core: move content of src/firewall-manager directory to src/Thomas Haller2014-11-191-0/+361
The directory firewall-manager/ only contained one source and one header file. Move them to the parent src/ directory. Signed-off-by: Thomas Haller <thaller@redhat.com>