From 364b3572bab5a9649e8f2d4da835d05d3c8ca7a9 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Wed, 21 Jan 2015 13:38:06 +0100 Subject: sbus: provide custom error names Errors provided directly by D-Bus are not sufficient to fulfill all our needs. Reviewed-by: Jakub Hrozek --- src/sbus/sssd_dbus_errors.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/sbus/sssd_dbus_errors.h (limited to 'src/sbus') diff --git a/src/sbus/sssd_dbus_errors.h b/src/sbus/sssd_dbus_errors.h new file mode 100644 index 000000000..b2b2b233b --- /dev/null +++ b/src/sbus/sssd_dbus_errors.h @@ -0,0 +1,29 @@ +/* + Authors: + Pavel Březina + + Copyright (C) 2015 Red Hat + + SBUS: Interface introspection + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef SSSD_DBUS_ERRORS_H_ +#define SSSD_DBUS_ERRORS_H_ + +#define SBUS_ERROR_INTERNAL "org.freedesktop.sssd.Error.Internal" +#define SBUS_ERROR_NOT_FOUND "org.freedesktop.sssd.Error.NotFound" + +#endif /* SSSD_DBUS_ERRORS_H_ */ -- cgit