X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd-bus%2Fbus-error.h;h=f442e953e008423d951cc29992aec824289f4c92;hb=5f7e8903b275f14d0f41f0542871d09deccb1741;hp=f49e6c73985ad9a115dc5bb1dc6d077dc5b94187;hpb=de1c301ed165eb4d04a0c9d4babe97912b5233bb;p=elogind.git diff --git a/src/libsystemd-bus/bus-error.h b/src/libsystemd-bus/bus-error.h index f49e6c739..f442e953e 100644 --- a/src/libsystemd-bus/bus-error.h +++ b/src/libsystemd-bus/bus-error.h @@ -21,7 +21,13 @@ along with systemd; If not, see . ***/ +#include + #include "sd-bus.h" -int bus_error_to_errno(const sd_bus_error *e); -int bus_error_from_errno(sd_bus_error *e, int error); +bool bus_error_is_dirty(sd_bus_error *e); + +const char *bus_error_message(const sd_bus_error *e, int error); + +int bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_list ap); +int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap);