chiark / gitweb /
bus: use "System.Error." as prefix for implicit errno bus errors
[elogind.git] / src / libsystemd-bus / bus-error.h
index ceca7d678f4265c98f6636407853d3fd1621d8e6..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);