Thomas Haller
97935382f4
coverity: fix various warnings detected with Coverity
...
These are (most likely) only warnings and not severe bugs.
Some of these changes are mostly made to get a clean run of
Coverity without any warnings.
Error found by running Coverity scan
https://bugzilla.redhat.com/show_bug.cgi?id=1025894
Co-Authored-By: Jiří Klimeš <jklimes@redhat.com >
Signed-off-by: Thomas Haller <thaller@redhat.com >
2013-11-13 15:29:24 +01:00
Tomas Hozza
6b93150d0d
dispatcher: publish vpn_ip6_config
2013-06-21 17:46:19 +02:00
Dan Williams
04cb58eacd
core: convert the DBus manager to a single-ref object
...
It's created very, very early and never needs to be unrefed
by anything except the main() function.
2013-05-20 16:38:33 -03:00
Dan Williams
a096ef8f87
core: fix more GValueArray deprecation fallout
2013-02-27 18:09:52 +01:00
Dan Winship
ed9e2d8377
build: avoid GValueArray deprecation warnings
...
Avoid warnings about GValueArray being deprecated by adding macros
that wrap G_GNUC_BEGIN_IGNORE_DEPRECATIONS /
G_GNUC_END_IGNORE_DEPRECATIONS around the GValueArray calls.
2013-02-26 13:07:33 +01:00
Jiří Klimeš
b95b6c8aa1
core: fix a crash due to GValueArray/GArray freeing mismatch (rh #865009 )
2012-10-11 15:41:48 +02:00
Dan Williams
d42d41c1ac
core: add cancelation to dispatcher calls
2012-09-11 17:17:58 -05:00
Dan Williams
15ca7cd56c
core: add dispatcher callbacks and simplify dispatcher function prototypes
...
Remove unused args for the non-VPN cases to cut down on the NULL NULL NULL
stuff since we're also adding two more arguments. Add the ability for
callers to give a callback that should be called when the dispatcher is
done.
2012-09-11 17:06:16 -05:00
Dan Williams
0201d6da87
core: convert dispatcher to asynchronous operation and return its results
...
In preparation for making NM wait on the dispatcher, make the dispatcher
call scripts asynchronously, and report the script results back to NM.
2012-09-11 17:06:16 -05:00
Dan Williams
cf255aa83b
core: split dispatcher into its own file
2012-09-11 17:06:16 -05:00