bus: add sd_bus_errnomap section

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 30 October 2014 19:31 UTC

This allows custom "name" ↔ errno mappings to be registered. Tables from all compilation units are concatenated.

4a0a741 bus: add sd_bus_errnomap section
Makefile.am | 7 +--
src/libsystemd/sd-bus/.gitignore | 1 -
src/libsystemd/sd-bus/bus-error-mapping.gperf | 50 ---------------------
src/libsystemd/sd-bus/bus-error.c | 58 ++++++++++++++++++++++---
src/libsystemd/sd-bus/bus-error.h | 2 -
src/libsystemd/sd-bus/test-bus-error.c | 28 +++++++++++-
src/systemd/sd-bus.h | 13 ++++++
7 files changed, 93 insertions(+), 66 deletions(-)

Upstream: github.com


  • Share