Path: blob/master/thirdparty/linuxbsd_headers/dbus/dbus-protocol.h
9903 views
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */1/* dbus-protocol.h D-Bus protocol constants2*3* Copyright (C) 2002, 2003 CodeFactory AB4* Copyright (C) 2004, 2005 Red Hat, Inc.5*6* Licensed under the Academic Free License version 2.17*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2 of the License, or11* (at your option) any later version.12*13* This program is distributed in the hope that it will be useful,14* but WITHOUT ANY WARRANTY; without even the implied warranty of15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16* GNU General Public License for more details.17*18* You should have received a copy of the GNU General Public License19* along with this program; if not, write to the Free Software20* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA21*22*/2324#ifndef DBUS_PROTOCOL_H25#define DBUS_PROTOCOL_H2627/* Don't include anything in here from anywhere else. It's28* intended for use by any random library.29*/3031#ifdef __cplusplus32extern "C" {33#if 034} /* avoids confusing emacs indentation */35#endif36#endif3738/* Normally docs are in .c files, but there isn't a .c file for this. */39/**40* @defgroup DBusProtocol Protocol constants41* @ingroup DBus42*43* @brief Defines constants which are part of the D-Bus protocol44*45* This header is intended for use by any library, not only libdbus.46*47* @{48*/495051/* Message byte order */52#define DBUS_LITTLE_ENDIAN ('l') /**< Code marking LSB-first byte order in the wire protocol. */53#define DBUS_BIG_ENDIAN ('B') /**< Code marking MSB-first byte order in the wire protocol. */5455/** Protocol version. */56#define DBUS_MAJOR_PROTOCOL_VERSION 15758/** Type code that is never equal to a legitimate type code */59#define DBUS_TYPE_INVALID ((int) '\0')60/** #DBUS_TYPE_INVALID as a string literal instead of a int literal */61#define DBUS_TYPE_INVALID_AS_STRING "\0"6263/* Primitive types */64/** Type code marking an 8-bit unsigned integer */65#define DBUS_TYPE_BYTE ((int) 'y')66/** #DBUS_TYPE_BYTE as a string literal instead of a int literal */67#define DBUS_TYPE_BYTE_AS_STRING "y"68/** Type code marking a boolean */69#define DBUS_TYPE_BOOLEAN ((int) 'b')70/** #DBUS_TYPE_BOOLEAN as a string literal instead of a int literal */71#define DBUS_TYPE_BOOLEAN_AS_STRING "b"72/** Type code marking a 16-bit signed integer */73#define DBUS_TYPE_INT16 ((int) 'n')74/** #DBUS_TYPE_INT16 as a string literal instead of a int literal */75#define DBUS_TYPE_INT16_AS_STRING "n"76/** Type code marking a 16-bit unsigned integer */77#define DBUS_TYPE_UINT16 ((int) 'q')78/** #DBUS_TYPE_UINT16 as a string literal instead of a int literal */79#define DBUS_TYPE_UINT16_AS_STRING "q"80/** Type code marking a 32-bit signed integer */81#define DBUS_TYPE_INT32 ((int) 'i')82/** #DBUS_TYPE_INT32 as a string literal instead of a int literal */83#define DBUS_TYPE_INT32_AS_STRING "i"84/** Type code marking a 32-bit unsigned integer */85#define DBUS_TYPE_UINT32 ((int) 'u')86/** #DBUS_TYPE_UINT32 as a string literal instead of a int literal */87#define DBUS_TYPE_UINT32_AS_STRING "u"88/** Type code marking a 64-bit signed integer */89#define DBUS_TYPE_INT64 ((int) 'x')90/** #DBUS_TYPE_INT64 as a string literal instead of a int literal */91#define DBUS_TYPE_INT64_AS_STRING "x"92/** Type code marking a 64-bit unsigned integer */93#define DBUS_TYPE_UINT64 ((int) 't')94/** #DBUS_TYPE_UINT64 as a string literal instead of a int literal */95#define DBUS_TYPE_UINT64_AS_STRING "t"96/** Type code marking an 8-byte double in IEEE 754 format */97#define DBUS_TYPE_DOUBLE ((int) 'd')98/** #DBUS_TYPE_DOUBLE as a string literal instead of a int literal */99#define DBUS_TYPE_DOUBLE_AS_STRING "d"100/** Type code marking a UTF-8 encoded, nul-terminated Unicode string */101#define DBUS_TYPE_STRING ((int) 's')102/** #DBUS_TYPE_STRING as a string literal instead of a int literal */103#define DBUS_TYPE_STRING_AS_STRING "s"104/** Type code marking a D-Bus object path */105#define DBUS_TYPE_OBJECT_PATH ((int) 'o')106/** #DBUS_TYPE_OBJECT_PATH as a string literal instead of a int literal */107#define DBUS_TYPE_OBJECT_PATH_AS_STRING "o"108/** Type code marking a D-Bus type signature */109#define DBUS_TYPE_SIGNATURE ((int) 'g')110/** #DBUS_TYPE_SIGNATURE as a string literal instead of a int literal */111#define DBUS_TYPE_SIGNATURE_AS_STRING "g"112/** Type code marking a unix file descriptor */113#define DBUS_TYPE_UNIX_FD ((int) 'h')114/** #DBUS_TYPE_UNIX_FD as a string literal instead of a int literal */115#define DBUS_TYPE_UNIX_FD_AS_STRING "h"116117/* Compound types */118/** Type code marking a D-Bus array type */119#define DBUS_TYPE_ARRAY ((int) 'a')120/** #DBUS_TYPE_ARRAY as a string literal instead of a int literal */121#define DBUS_TYPE_ARRAY_AS_STRING "a"122/** Type code marking a D-Bus variant type */123#define DBUS_TYPE_VARIANT ((int) 'v')124/** #DBUS_TYPE_VARIANT as a string literal instead of a int literal */125#define DBUS_TYPE_VARIANT_AS_STRING "v"126127/** STRUCT and DICT_ENTRY are sort of special since their codes can't128* appear in a type string, instead129* DBUS_STRUCT_BEGIN_CHAR/DBUS_DICT_ENTRY_BEGIN_CHAR have to appear130*/131/** Type code used to represent a struct; however, this type code does not appear132* in type signatures, instead #DBUS_STRUCT_BEGIN_CHAR and #DBUS_STRUCT_END_CHAR will133* appear in a signature.134*/135#define DBUS_TYPE_STRUCT ((int) 'r')136/** #DBUS_TYPE_STRUCT as a string literal instead of a int literal */137#define DBUS_TYPE_STRUCT_AS_STRING "r"138/** Type code used to represent a dict entry; however, this type code does not appear139* in type signatures, instead #DBUS_DICT_ENTRY_BEGIN_CHAR and #DBUS_DICT_ENTRY_END_CHAR will140* appear in a signature.141*/142#define DBUS_TYPE_DICT_ENTRY ((int) 'e')143/** #DBUS_TYPE_DICT_ENTRY as a string literal instead of a int literal */144#define DBUS_TYPE_DICT_ENTRY_AS_STRING "e"145146/** Does not include #DBUS_TYPE_INVALID, #DBUS_STRUCT_BEGIN_CHAR, #DBUS_STRUCT_END_CHAR,147* #DBUS_DICT_ENTRY_BEGIN_CHAR, or #DBUS_DICT_ENTRY_END_CHAR - i.e. it is the number of148* valid types, not the number of distinct characters that may appear in a type signature.149*/150#define DBUS_NUMBER_OF_TYPES (16)151152/* characters other than typecodes that appear in type signatures */153154/** Code marking the start of a struct type in a type signature */155#define DBUS_STRUCT_BEGIN_CHAR ((int) '(')156/** #DBUS_STRUCT_BEGIN_CHAR as a string literal instead of a int literal */157#define DBUS_STRUCT_BEGIN_CHAR_AS_STRING "("158/** Code marking the end of a struct type in a type signature */159#define DBUS_STRUCT_END_CHAR ((int) ')')160/** #DBUS_STRUCT_END_CHAR a string literal instead of a int literal */161#define DBUS_STRUCT_END_CHAR_AS_STRING ")"162/** Code marking the start of a dict entry type in a type signature */163#define DBUS_DICT_ENTRY_BEGIN_CHAR ((int) '{')164/** #DBUS_DICT_ENTRY_BEGIN_CHAR as a string literal instead of a int literal */165#define DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING "{"166/** Code marking the end of a dict entry type in a type signature */167#define DBUS_DICT_ENTRY_END_CHAR ((int) '}')168/** #DBUS_DICT_ENTRY_END_CHAR as a string literal instead of a int literal */169#define DBUS_DICT_ENTRY_END_CHAR_AS_STRING "}"170171/** Max length in bytes of a bus name, interface, or member (not object172* path, paths are unlimited). This is limited because lots of stuff173* is O(n) in this number, plus it would be obnoxious to type in a174* paragraph-long method name so most likely something like that would175* be an exploit.176*/177#define DBUS_MAXIMUM_NAME_LENGTH 255178179/** This one is 255 so it fits in a byte */180#define DBUS_MAXIMUM_SIGNATURE_LENGTH 255181182/** Max length of a match rule string; to keep people from hosing the183* daemon with some huge rule184*/185#define DBUS_MAXIMUM_MATCH_RULE_LENGTH 1024186187/** Max arg number you can match on in a match rule, e.g.188* arg0='hello' is OK, arg3489720987='hello' is not189*/190#define DBUS_MAXIMUM_MATCH_RULE_ARG_NUMBER 63191192/** Max length of a marshaled array in bytes (64M, 2^26) We use signed193* int for lengths so must be INT_MAX or less. We need something a194* bit smaller than INT_MAX because the array is inside a message with195* header info, etc. so an INT_MAX array wouldn't allow the message196* overhead. The 64M number is an attempt at a larger number than197* we'd reasonably ever use, but small enough that your bus would chew198* through it fairly quickly without locking up forever. If you have199* data that's likely to be larger than this, you should probably be200* sending it in multiple incremental messages anyhow.201*/202#define DBUS_MAXIMUM_ARRAY_LENGTH (67108864)203/** Number of bits you need in an unsigned to store the max array size */204#define DBUS_MAXIMUM_ARRAY_LENGTH_BITS 26205206/** The maximum total message size including header and body; similar207* rationale to max array size.208*/209#define DBUS_MAXIMUM_MESSAGE_LENGTH (DBUS_MAXIMUM_ARRAY_LENGTH * 2)210/** Number of bits you need in an unsigned to store the max message size */211#define DBUS_MAXIMUM_MESSAGE_LENGTH_BITS 27212213/** The maximum total number of unix fds in a message. Similar214* rationale as DBUS_MAXIMUM_MESSAGE_LENGTH. However we divide by four215* given that one fd is an int and hence at least 32 bits.216*/217#define DBUS_MAXIMUM_MESSAGE_UNIX_FDS (DBUS_MAXIMUM_MESSAGE_LENGTH/4)218/** Number of bits you need in an unsigned to store the max message unix fds */219#define DBUS_MAXIMUM_MESSAGE_UNIX_FDS_BITS (DBUS_MAXIMUM_MESSAGE_LENGTH_BITS-2)220221/** Depth of recursion in the type tree. This is automatically limited222* to DBUS_MAXIMUM_SIGNATURE_LENGTH since you could only have an array223* of array of array of ... that fit in the max signature. But that's224* probably a bit too large.225*/226#define DBUS_MAXIMUM_TYPE_RECURSION_DEPTH 32227228/* Types of message */229230/** This value is never a valid message type, see dbus_message_get_type() */231#define DBUS_MESSAGE_TYPE_INVALID 0232/** Message type of a method call message, see dbus_message_get_type() */233#define DBUS_MESSAGE_TYPE_METHOD_CALL 1234/** Message type of a method return message, see dbus_message_get_type() */235#define DBUS_MESSAGE_TYPE_METHOD_RETURN 2236/** Message type of an error reply message, see dbus_message_get_type() */237#define DBUS_MESSAGE_TYPE_ERROR 3238/** Message type of a signal message, see dbus_message_get_type() */239#define DBUS_MESSAGE_TYPE_SIGNAL 4240241#define DBUS_NUM_MESSAGE_TYPES 5242243/* Header flags */244245/** If set, this flag means that the sender of a message does not care about getting246* a reply, so the recipient need not send one. See dbus_message_set_no_reply().247*/248#define DBUS_HEADER_FLAG_NO_REPLY_EXPECTED 0x1249/**250* If set, this flag means that even if the message bus knows how to start an owner for251* the destination bus name (see dbus_message_set_destination()), it should not252* do so. If this flag is not set, the bus may launch a program to process the253* message.254*/255#define DBUS_HEADER_FLAG_NO_AUTO_START 0x2256/**257* If set on a method call, this flag means that the caller is prepared to258* wait for interactive authorization.259*/260#define DBUS_HEADER_FLAG_ALLOW_INTERACTIVE_AUTHORIZATION 0x4261262/* Header fields */263264/** Not equal to any valid header field code */265#define DBUS_HEADER_FIELD_INVALID 0266/** Header field code for the path - the path is the object emitting a signal or the object receiving a method call.267* See dbus_message_set_path().268*/269#define DBUS_HEADER_FIELD_PATH 1270/** Header field code for the interface containing a member (method or signal).271* See dbus_message_set_interface().272*/273#define DBUS_HEADER_FIELD_INTERFACE 2274/** Header field code for a member (method or signal). See dbus_message_set_member(). */275#define DBUS_HEADER_FIELD_MEMBER 3276/** Header field code for an error name (found in #DBUS_MESSAGE_TYPE_ERROR messages).277* See dbus_message_set_error_name().278*/279#define DBUS_HEADER_FIELD_ERROR_NAME 4280/** Header field code for a reply serial, used to match a #DBUS_MESSAGE_TYPE_METHOD_RETURN message with the281* message that it's a reply to. See dbus_message_set_reply_serial().282*/283#define DBUS_HEADER_FIELD_REPLY_SERIAL 5284/**285* Header field code for the destination bus name of a message. See dbus_message_set_destination().286*/287#define DBUS_HEADER_FIELD_DESTINATION 6288/**289* Header field code for the sender of a message; usually initialized by the message bus.290* See dbus_message_set_sender().291*/292#define DBUS_HEADER_FIELD_SENDER 7293/**294* Header field code for the type signature of a message.295*/296#define DBUS_HEADER_FIELD_SIGNATURE 8297/**298* Header field code for the number of unix file descriptors associated299* with this message.300*/301#define DBUS_HEADER_FIELD_UNIX_FDS 9302303304/**305* Value of the highest-numbered header field code, can be used to determine306* the size of an array indexed by header field code. Remember though307* that unknown codes must be ignored, so check for that before308* indexing the array.309*/310#define DBUS_HEADER_FIELD_LAST DBUS_HEADER_FIELD_UNIX_FDS311312/** Header format is defined as a signature:313* byte byte order314* byte message type ID315* byte flags316* byte protocol version317* uint32 body length318* uint32 serial319* array of struct (byte,variant) (field name, value)320*321* The length of the header can be computed as the322* fixed size of the initial data, plus the length of323* the array at the end, plus padding to an 8-boundary.324*/325#define DBUS_HEADER_SIGNATURE \326DBUS_TYPE_BYTE_AS_STRING \327DBUS_TYPE_BYTE_AS_STRING \328DBUS_TYPE_BYTE_AS_STRING \329DBUS_TYPE_BYTE_AS_STRING \330DBUS_TYPE_UINT32_AS_STRING \331DBUS_TYPE_UINT32_AS_STRING \332DBUS_TYPE_ARRAY_AS_STRING \333DBUS_STRUCT_BEGIN_CHAR_AS_STRING \334DBUS_TYPE_BYTE_AS_STRING \335DBUS_TYPE_VARIANT_AS_STRING \336DBUS_STRUCT_END_CHAR_AS_STRING337338339/**340* The smallest header size that can occur. (It won't be valid due to341* missing required header fields.) This is 4 bytes, two uint32, an342* array length. This isn't any kind of resource limit, just the343* necessary/logical outcome of the header signature.344*/345#define DBUS_MINIMUM_HEADER_SIZE 16346347/* Errors */348/* WARNING these get autoconverted to an enum in dbus-glib.h. Thus,349* if you change the order it breaks the ABI. Keep them in order.350* Also, don't change the formatting since that will break the sed351* script.352*/353/** A generic error; "something went wrong" - see the error message for more. */354#define DBUS_ERROR_FAILED "org.freedesktop.DBus.Error.Failed"355/** There was not enough memory to complete an operation. */356#define DBUS_ERROR_NO_MEMORY "org.freedesktop.DBus.Error.NoMemory"357/** The bus doesn't know how to launch a service to supply the bus name you wanted. */358#define DBUS_ERROR_SERVICE_UNKNOWN "org.freedesktop.DBus.Error.ServiceUnknown"359/** The bus name you referenced doesn't exist (i.e. no application owns it). */360#define DBUS_ERROR_NAME_HAS_NO_OWNER "org.freedesktop.DBus.Error.NameHasNoOwner"361/** No reply to a message expecting one, usually means a timeout occurred. */362#define DBUS_ERROR_NO_REPLY "org.freedesktop.DBus.Error.NoReply"363/** Something went wrong reading or writing to a socket, for example. */364#define DBUS_ERROR_IO_ERROR "org.freedesktop.DBus.Error.IOError"365/** A D-Bus bus address was malformed. */366#define DBUS_ERROR_BAD_ADDRESS "org.freedesktop.DBus.Error.BadAddress"367/** Requested operation isn't supported (like ENOSYS on UNIX). */368#define DBUS_ERROR_NOT_SUPPORTED "org.freedesktop.DBus.Error.NotSupported"369/** Some limited resource is exhausted. */370#define DBUS_ERROR_LIMITS_EXCEEDED "org.freedesktop.DBus.Error.LimitsExceeded"371/** Security restrictions don't allow doing what you're trying to do. */372#define DBUS_ERROR_ACCESS_DENIED "org.freedesktop.DBus.Error.AccessDenied"373/** Authentication didn't work. */374#define DBUS_ERROR_AUTH_FAILED "org.freedesktop.DBus.Error.AuthFailed"375/** Unable to connect to server (probably caused by ECONNREFUSED on a socket). */376#define DBUS_ERROR_NO_SERVER "org.freedesktop.DBus.Error.NoServer"377/** Certain timeout errors, possibly ETIMEDOUT on a socket.378* Note that #DBUS_ERROR_NO_REPLY is used for message reply timeouts.379* @warning this is confusingly-named given that #DBUS_ERROR_TIMED_OUT also exists. We can't fix380* it for compatibility reasons so just be careful.381*/382#define DBUS_ERROR_TIMEOUT "org.freedesktop.DBus.Error.Timeout"383/** No network access (probably ENETUNREACH on a socket). */384#define DBUS_ERROR_NO_NETWORK "org.freedesktop.DBus.Error.NoNetwork"385/** Can't bind a socket since its address is in use (i.e. EADDRINUSE). */386#define DBUS_ERROR_ADDRESS_IN_USE "org.freedesktop.DBus.Error.AddressInUse"387/** The connection is disconnected and you're trying to use it. */388#define DBUS_ERROR_DISCONNECTED "org.freedesktop.DBus.Error.Disconnected"389/** Invalid arguments passed to a method call. */390#define DBUS_ERROR_INVALID_ARGS "org.freedesktop.DBus.Error.InvalidArgs"391/** Missing file. */392#define DBUS_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound"393/** Existing file and the operation you're using does not silently overwrite. */394#define DBUS_ERROR_FILE_EXISTS "org.freedesktop.DBus.Error.FileExists"395/** Method name you invoked isn't known by the object you invoked it on. */396#define DBUS_ERROR_UNKNOWN_METHOD "org.freedesktop.DBus.Error.UnknownMethod"397/** Object you invoked a method on isn't known. */398#define DBUS_ERROR_UNKNOWN_OBJECT "org.freedesktop.DBus.Error.UnknownObject"399/** Interface you invoked a method on isn't known by the object. */400#define DBUS_ERROR_UNKNOWN_INTERFACE "org.freedesktop.DBus.Error.UnknownInterface"401/** Property you tried to access isn't known by the object. */402#define DBUS_ERROR_UNKNOWN_PROPERTY "org.freedesktop.DBus.Error.UnknownProperty"403/** Property you tried to set is read-only. */404#define DBUS_ERROR_PROPERTY_READ_ONLY "org.freedesktop.DBus.Error.PropertyReadOnly"405/** Certain timeout errors, e.g. while starting a service.406* @warning this is confusingly-named given that #DBUS_ERROR_TIMEOUT also exists. We can't fix407* it for compatibility reasons so just be careful.408*/409#define DBUS_ERROR_TIMED_OUT "org.freedesktop.DBus.Error.TimedOut"410/** Tried to remove or modify a match rule that didn't exist. */411#define DBUS_ERROR_MATCH_RULE_NOT_FOUND "org.freedesktop.DBus.Error.MatchRuleNotFound"412/** The match rule isn't syntactically valid. */413#define DBUS_ERROR_MATCH_RULE_INVALID "org.freedesktop.DBus.Error.MatchRuleInvalid"414/** While starting a new process, the exec() call failed. */415#define DBUS_ERROR_SPAWN_EXEC_FAILED "org.freedesktop.DBus.Error.Spawn.ExecFailed"416/** While starting a new process, the fork() call failed. */417#define DBUS_ERROR_SPAWN_FORK_FAILED "org.freedesktop.DBus.Error.Spawn.ForkFailed"418/** While starting a new process, the child exited with a status code. */419#define DBUS_ERROR_SPAWN_CHILD_EXITED "org.freedesktop.DBus.Error.Spawn.ChildExited"420/** While starting a new process, the child exited on a signal. */421#define DBUS_ERROR_SPAWN_CHILD_SIGNALED "org.freedesktop.DBus.Error.Spawn.ChildSignaled"422/** While starting a new process, something went wrong. */423#define DBUS_ERROR_SPAWN_FAILED "org.freedesktop.DBus.Error.Spawn.Failed"424/** We failed to setup the environment correctly. */425#define DBUS_ERROR_SPAWN_SETUP_FAILED "org.freedesktop.DBus.Error.Spawn.FailedToSetup"426/** We failed to setup the config parser correctly. */427#define DBUS_ERROR_SPAWN_CONFIG_INVALID "org.freedesktop.DBus.Error.Spawn.ConfigInvalid"428/** Bus name was not valid. */429#define DBUS_ERROR_SPAWN_SERVICE_INVALID "org.freedesktop.DBus.Error.Spawn.ServiceNotValid"430/** Service file not found in system-services directory. */431#define DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND "org.freedesktop.DBus.Error.Spawn.ServiceNotFound"432/** Permissions are incorrect on the setuid helper. */433#define DBUS_ERROR_SPAWN_PERMISSIONS_INVALID "org.freedesktop.DBus.Error.Spawn.PermissionsInvalid"434/** Service file invalid (Name, User or Exec missing). */435#define DBUS_ERROR_SPAWN_FILE_INVALID "org.freedesktop.DBus.Error.Spawn.FileInvalid"436/** Tried to get a UNIX process ID and it wasn't available. */437#define DBUS_ERROR_SPAWN_NO_MEMORY "org.freedesktop.DBus.Error.Spawn.NoMemory"438/** Tried to get a UNIX process ID and it wasn't available. */439#define DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN "org.freedesktop.DBus.Error.UnixProcessIdUnknown"440/** A type signature is not valid. */441#define DBUS_ERROR_INVALID_SIGNATURE "org.freedesktop.DBus.Error.InvalidSignature"442/** A file contains invalid syntax or is otherwise broken. */443#define DBUS_ERROR_INVALID_FILE_CONTENT "org.freedesktop.DBus.Error.InvalidFileContent"444/** Asked for SELinux security context and it wasn't available. */445#define DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN "org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown"446/** Asked for AppArmor security context and it wasn't available. */447#define DBUS_ERROR_APPARMOR_SECURITY_CONTEXT_UNKNOWN "org.freedesktop.DBus.Error.AppArmorSecurityContextUnknown"448/** Asked for ADT audit data and it wasn't available. */449#define DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN "org.freedesktop.DBus.Error.AdtAuditDataUnknown"450/** There's already an object with the requested object path. */451#define DBUS_ERROR_OBJECT_PATH_IN_USE "org.freedesktop.DBus.Error.ObjectPathInUse"452/** The message meta data does not match the payload. e.g. expected453number of file descriptors were not sent over the socket this message was received on. */454#define DBUS_ERROR_INCONSISTENT_MESSAGE "org.freedesktop.DBus.Error.InconsistentMessage"455/** The message is not allowed without performing interactive authorization,456* but could have succeeded if an interactive authorization step was457* allowed. */458#define DBUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED "org.freedesktop.DBus.Error.InteractiveAuthorizationRequired"459460/* XML introspection format */461462/** XML namespace of the introspection format version 1.0 */463#define DBUS_INTROSPECT_1_0_XML_NAMESPACE "http://www.freedesktop.org/standards/dbus"464/** XML public identifier of the introspection format version 1.0 */465#define DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"466/** XML system identifier of the introspection format version 1.0 */467#define DBUS_INTROSPECT_1_0_XML_SYSTEM_IDENTIFIER "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"468/** XML document type declaration of the introspection format version 1.0 */469#define DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE "<!DOCTYPE node PUBLIC \"" DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER "\"\n\"" DBUS_INTROSPECT_1_0_XML_SYSTEM_IDENTIFIER "\">\n"470471/** @} */472473#ifdef __cplusplus474#if 0475{ /* avoids confusing emacs indentation */476#endif477}478#endif479480#endif /* DBUS_PROTOCOL_H */481482483