libvirt/src/nwfilter
Laine Stump f7e18208e1 util: make interface.c functions consistently return < 0 on error
All of the functions in util/interface.c were returning 0 on success,
but some returned -1 on error, and some returned a positive value
(usually the value of errno, but sometimes just 1). Libvirt's standard
is to return < 0 on error (in the case of functions that need to
return errno, -errno is returned.

This patch modifies all functions in interface.c to consistently
return < 0 on error, and makes changes to callers of those functions
where necessary.
2011-07-22 09:27:07 -04:00
..
nwfilter_driver.c util: reject unknown flags, and prefer unsigned flags 2011-07-13 09:04:54 -06:00
nwfilter_driver.h filter new files through cppi, so syntax-check passes once again 2010-03-26 22:47:30 +01:00
nwfilter_ebiptables_driver.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
nwfilter_ebiptables_driver.h Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
nwfilter_gentech_driver.c util: make interface.c functions consistently return < 0 on error 2011-07-22 09:27:07 -04:00
nwfilter_gentech_driver.h Allow hash tables to use generic pointers as keys 2011-02-25 13:00:54 +00:00
nwfilter_learnipaddr.c util: make interface.c functions consistently return < 0 on error 2011-07-22 09:27:07 -04:00
nwfilter_learnipaddr.h nwfilter: extend nwfilter reload support 2010-08-16 12:59:54 -04:00