From 780896a4f1ec7e36c8f72c866ba9693d790f9741 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 22 Nov 2013 04:01:46 +0100 Subject: bus: rework sd_bus_error APIs All calls that set a sd_bus_error structure will now return the same error converted to a negative errno. This may be used as syntactic sugar to return from a function and setting a bus_error structure in one go. Also, translate all Linux Exyz (EIO, EINVAL, EUCLEAN, EPIPE, ...) automatically into counterparts in the (new) "Posix.Error." namespace. If we fail to allocate memory for the components of a sd_bus_error automatically reset it to an OOM error which we always can write. --- src/shared/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/shared/.gitignore (limited to 'src/shared/.gitignore') diff --git a/src/shared/.gitignore b/src/shared/.gitignore new file mode 100644 index 0000000000..c9b5f81719 --- /dev/null +++ b/src/shared/.gitignore @@ -0,0 +1,4 @@ +/errno-from-name.gperf +/errno-from-name.h +/errno-list.txt +/errno-to-name.h -- cgit v1.2.3-54-g00ecf