]>
Commit | Line | Data |
---|---|---|
718db961 LP |
1 | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ |
2 | ||
3 | #pragma once | |
4 | ||
5 | /*** | |
6 | This file is part of systemd. | |
7 | ||
8 | Copyright 2013 Lennart Poettering | |
9 | ||
10 | systemd is free software; you can redistribute it and/or modify it | |
11 | under the terms of the GNU Lesser General Public License as published by | |
12 | the Free Software Foundation; either version 2.1 of the License, or | |
13 | (at your option) any later version. | |
14 | ||
15 | systemd is distributed in the hope that it will be useful, but | |
16 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | Lesser General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU Lesser General Public License | |
21 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
22 | ***/ | |
23 | ||
fedfcdee | 24 | #include "sd-bus.h" |
5f86c1f4 | 25 | #include "bus-error.h" |
fedfcdee | 26 | |
718db961 LP |
27 | #define BUS_ERROR_NO_SUCH_UNIT "org.freedesktop.systemd1.NoSuchUnit" |
28 | #define BUS_ERROR_NO_UNIT_FOR_PID "org.freedesktop.systemd1.NoUnitForPID" | |
29 | #define BUS_ERROR_UNIT_EXISTS "org.freedesktop.systemd1.UnitExists" | |
30 | #define BUS_ERROR_LOAD_FAILED "org.freedesktop.systemd1.LoadFailed" | |
31 | #define BUS_ERROR_JOB_FAILED "org.freedesktop.systemd1.JobFailed" | |
32 | #define BUS_ERROR_NO_SUCH_JOB "org.freedesktop.systemd1.NoSuchJob" | |
33 | #define BUS_ERROR_NOT_SUBSCRIBED "org.freedesktop.systemd1.NotSubscribed" | |
34 | #define BUS_ERROR_ALREADY_SUBSCRIBED "org.freedesktop.systemd1.AlreadySubscribed" | |
35 | #define BUS_ERROR_ONLY_BY_DEPENDENCY "org.freedesktop.systemd1.OnlyByDependency" | |
36 | #define BUS_ERROR_TRANSACTION_JOBS_CONFLICTING "org.freedesktop.systemd1.TransactionJobsConflicting" | |
37 | #define BUS_ERROR_TRANSACTION_ORDER_IS_CYCLIC "org.freedesktop.systemd1.TransactionOrderIsCyclic" | |
38 | #define BUS_ERROR_TRANSACTION_IS_DESTRUCTIVE "org.freedesktop.systemd1.TransactionIsDestructive" | |
39 | #define BUS_ERROR_UNIT_MASKED "org.freedesktop.systemd1.UnitMasked" | |
40 | #define BUS_ERROR_JOB_TYPE_NOT_APPLICABLE "org.freedesktop.systemd1.JobTypeNotApplicable" | |
41 | #define BUS_ERROR_NO_ISOLATION "org.freedesktop.systemd1.NoIsolation" | |
42 | #define BUS_ERROR_SHUTTING_DOWN "org.freedesktop.systemd1.ShuttingDown" | |
4e2f8d27 | 43 | #define BUS_ERROR_SCOPE_NOT_RUNNING "org.freedesktop.systemd1.ScopeNotRunning" |
718db961 LP |
44 | |
45 | #define BUS_ERROR_NO_SUCH_MACHINE "org.freedesktop.machine1.NoSuchMachine" | |
46 | #define BUS_ERROR_NO_MACHINE_FOR_PID "org.freedesktop.machine1.NoMachineForPID" | |
47 | #define BUS_ERROR_MACHINE_EXISTS "org.freedesktop.machine1.MachineExists" | |
878cd7e9 | 48 | #define BUS_ERROR_NO_PRIVATE_NETWORKING "org.freedesktop.machine1.NoPrivateNetworking" |
718db961 LP |
49 | |
50 | #define BUS_ERROR_NO_SUCH_SESSION "org.freedesktop.login1.NoSuchSession" | |
51 | #define BUS_ERROR_NO_SESSION_FOR_PID "org.freedesktop.login1.NoSessionForPID" | |
52 | #define BUS_ERROR_NO_SUCH_USER "org.freedesktop.login1.NoSuchUser" | |
53 | #define BUS_ERROR_NO_USER_FOR_PID "org.freedesktop.login1.NoUserForPID" | |
54 | #define BUS_ERROR_NO_SUCH_SEAT "org.freedesktop.login1.NoSuchSeat" | |
55 | #define BUS_ERROR_SESSION_NOT_ON_SEAT "org.freedesktop.login1.SessionNotOnSeat" | |
56 | #define BUS_ERROR_NOT_IN_CONTROL "org.freedesktop.login1.NotInControl" | |
57 | #define BUS_ERROR_DEVICE_IS_TAKEN "org.freedesktop.login1.DeviceIsTaken" | |
58 | #define BUS_ERROR_DEVICE_NOT_TAKEN "org.freedesktop.login1.DeviceNotTaken" | |
59 | #define BUS_ERROR_OPERATION_IN_PROGRESS "org.freedesktop.login1.OperationInProgress" | |
60 | #define BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED "org.freedesktop.login1.SleepVerbNotSupported" | |
61 | ||
82d115d9 KS |
62 | #define BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED "org.freedesktop.timedate1.AutomaticTimeSyncEnabled" |
63 | ||
718db961 | 64 | #define BUS_ERROR_NO_SUCH_PROCESS "org.freedesktop.systemd1.NoSuchProcess" |
74b2466e LP |
65 | |
66 | #define BUS_ERROR_NO_NAME_SERVERS "org.freedesktop.resolve1.NoNameServers" | |
67 | #define BUS_ERROR_INVALID_REPLY "org.freedesktop.resolve1.InvalidReply" | |
b9d394ea | 68 | #define BUS_ERROR_NO_SUCH_RR "org.freedesktop.resolve1.NoSuchRR" |
ad867662 | 69 | #define BUS_ERROR_NO_RESOURCES "org.freedesktop.resolve1.NoResources" |
8ba9fd9c | 70 | #define BUS_ERROR_CNAME_LOOP "org.freedesktop.resolve1.CNameLoop" |
818f766b | 71 | #define BUS_ERROR_ABORTED "org.freedesktop.resolve1.Aborted" |
74b2466e | 72 | #define _BUS_ERROR_DNS "org.freedesktop.resolve1.DnsError." |
fedfcdee | 73 | |
5f86c1f4 | 74 | BUS_ERROR_MAP_ELF_USE(shared_errors); |