chiark / gitweb /
libsystemd-bus: the same error codes for sd_bus_release_name() (for kdbus and dbus1)
[elogind.git] / src / libsystemd-bus / bus-error.h
index c6e072eab4913e65fa53ce7d78188f67db85700f..f442e953e008423d951cc29992aec824289f4c92 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include "sd-bus.h"
+#include <stdbool.h>
 
-int bus_error_to_errno(const sd_bus_error *e);
-int bus_error_from_errno(sd_bus_error *e, int error);
+#include "sd-bus.h"
 
 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);