chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: support temporarily const errors that don't need to be freed but require deep...
[elogind.git]
/
src
/
libsystemd-bus
/
bus-error.h
diff --git
a/src/libsystemd-bus/bus-error.h
b/src/libsystemd-bus/bus-error.h
index c6e072eab4913e65fa53ce7d78188f67db85700f..f442e953e008423d951cc29992aec824289f4c92 100644
(file)
--- a/
src/libsystemd-bus/bus-error.h
+++ b/
src/libsystemd-bus/bus-error.h
@@
-21,9
+21,13
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
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);
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);