summaryrefslogtreecommitdiffstats
path: root/src/sbus
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-01-21 13:38:06 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-05-22 15:56:58 +0200
commit364b3572bab5a9649e8f2d4da835d05d3c8ca7a9 (patch)
treef5bd053b385683a0d7357f993201cb054ba59c7d /src/sbus
parent0a111b876c59ea7b5eab4b33449966d6005dc5b1 (diff)
downloadsssd-364b3572bab5a9649e8f2d4da835d05d3c8ca7a9.tar.gz
sssd-364b3572bab5a9649e8f2d4da835d05d3c8ca7a9.tar.xz
sssd-364b3572bab5a9649e8f2d4da835d05d3c8ca7a9.zip
sbus: provide custom error names
Errors provided directly by D-Bus are not sufficient to fulfill all our needs. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/sbus')
-rw-r--r--src/sbus/sssd_dbus_errors.h29
1 files changed, 29 insertions, 0 deletions
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 <pbrezina@redhat.com>
+
+ 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 <http://www.gnu.org/licenses/>.
+*/
+
+#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_ */