1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/dbus-1.0/dbus/dbus-protocol.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,421 @@
1.4 +/* -*- mode: C; c-file-style: "gnu" -*- */
1.5 +/* dbus-protocol.h D-Bus protocol constants
1.6 + *
1.7 + * Copyright (C) 2002, 2003 CodeFactory AB
1.8 + * Copyright (C) 2004, 2005 Red Hat, Inc.
1.9 + *
1.10 + * Licensed under the Academic Free License version 2.1
1.11 + *
1.12 + * This program is free software; you can redistribute it and/or modify
1.13 + * it under the terms of the GNU General Public License as published by
1.14 + * the Free Software Foundation; either version 2 of the License, or
1.15 + * (at your option) any later version.
1.16 + *
1.17 + * This program is distributed in the hope that it will be useful,
1.18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.20 + * GNU General Public License for more details.
1.21 + *
1.22 + * You should have received a copy of the GNU General Public License
1.23 + * along with this program; if not, write to the Free Software
1.24 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.25 + *
1.26 + */
1.27 +
1.28 +#ifndef DBUS_PROTOCOL_H
1.29 +#define DBUS_PROTOCOL_H
1.30 +
1.31 +/* Don't include anything in here from anywhere else. It's
1.32 + * intended for use by any random library.
1.33 + */
1.34 +
1.35 +#ifdef __cplusplus
1.36 +extern "C" {
1.37 +#if 0
1.38 +} /* avoids confusing emacs indentation */
1.39 +#endif
1.40 +#endif
1.41 +
1.42 +/* Normally docs are in .c files, but there isn't a .c file for this. */
1.43 +/**
1.44 + * @defgroup DBusProtocol Protocol constants
1.45 + * @ingroup DBus
1.46 + *
1.47 + * @brief Defines constants which are part of the D-Bus protocol
1.48 + *
1.49 + * This header is intended for use by any library, not only libdbus.
1.50 + *
1.51 + * @{
1.52 + */
1.53 +
1.54 +
1.55 +/* Message byte order */
1.56 +#define DBUS_LITTLE_ENDIAN ('l') /**< Code marking LSB-first byte order in the wire protocol. */
1.57 +#define DBUS_BIG_ENDIAN ('B') /**< Code marking MSB-first byte order in the wire protocol. */
1.58 +
1.59 +/** Protocol version. */
1.60 +#define DBUS_MAJOR_PROTOCOL_VERSION 1
1.61 +
1.62 +/** Type code that is never equal to a legitimate type code */
1.63 +#define DBUS_TYPE_INVALID ((int) '\0')
1.64 +/** #DBUS_TYPE_INVALID as a string literal instead of a int literal */
1.65 +#define DBUS_TYPE_INVALID_AS_STRING "\0"
1.66 +
1.67 +/* Primitive types */
1.68 +/** Type code marking an 8-bit unsigned integer */
1.69 +#define DBUS_TYPE_BYTE ((int) 'y')
1.70 +/** #DBUS_TYPE_BYTE as a string literal instead of a int literal */
1.71 +#define DBUS_TYPE_BYTE_AS_STRING "y"
1.72 +/** Type code marking a boolean */
1.73 +#define DBUS_TYPE_BOOLEAN ((int) 'b')
1.74 +/** #DBUS_TYPE_BOOLEAN as a string literal instead of a int literal */
1.75 +#define DBUS_TYPE_BOOLEAN_AS_STRING "b"
1.76 +/** Type code marking a 16-bit signed integer */
1.77 +#define DBUS_TYPE_INT16 ((int) 'n')
1.78 +/** #DBUS_TYPE_INT16 as a string literal instead of a int literal */
1.79 +#define DBUS_TYPE_INT16_AS_STRING "n"
1.80 +/** Type code marking a 16-bit unsigned integer */
1.81 +#define DBUS_TYPE_UINT16 ((int) 'q')
1.82 +/** #DBUS_TYPE_UINT16 as a string literal instead of a int literal */
1.83 +#define DBUS_TYPE_UINT16_AS_STRING "q"
1.84 +/** Type code marking a 32-bit signed integer */
1.85 +#define DBUS_TYPE_INT32 ((int) 'i')
1.86 +/** #DBUS_TYPE_INT32 as a string literal instead of a int literal */
1.87 +#define DBUS_TYPE_INT32_AS_STRING "i"
1.88 +/** Type code marking a 32-bit unsigned integer */
1.89 +#define DBUS_TYPE_UINT32 ((int) 'u')
1.90 +/** #DBUS_TYPE_UINT32 as a string literal instead of a int literal */
1.91 +#define DBUS_TYPE_UINT32_AS_STRING "u"
1.92 +/** Type code marking a 64-bit signed integer */
1.93 +#define DBUS_TYPE_INT64 ((int) 'x')
1.94 +/** #DBUS_TYPE_INT64 as a string literal instead of a int literal */
1.95 +#define DBUS_TYPE_INT64_AS_STRING "x"
1.96 +/** Type code marking a 64-bit unsigned integer */
1.97 +#define DBUS_TYPE_UINT64 ((int) 't')
1.98 +/** #DBUS_TYPE_UINT64 as a string literal instead of a int literal */
1.99 +#define DBUS_TYPE_UINT64_AS_STRING "t"
1.100 +/** Type code marking an 8-byte double in IEEE 754 format */
1.101 +#define DBUS_TYPE_DOUBLE ((int) 'd')
1.102 +/** #DBUS_TYPE_DOUBLE as a string literal instead of a int literal */
1.103 +#define DBUS_TYPE_DOUBLE_AS_STRING "d"
1.104 +/** Type code marking a UTF-8 encoded, nul-terminated Unicode string */
1.105 +#define DBUS_TYPE_STRING ((int) 's')
1.106 +/** #DBUS_TYPE_STRING as a string literal instead of a int literal */
1.107 +#define DBUS_TYPE_STRING_AS_STRING "s"
1.108 +/** Type code marking a D-Bus object path */
1.109 +#define DBUS_TYPE_OBJECT_PATH ((int) 'o')
1.110 +/** #DBUS_TYPE_OBJECT_PATH as a string literal instead of a int literal */
1.111 +#define DBUS_TYPE_OBJECT_PATH_AS_STRING "o"
1.112 +/** Type code marking a D-Bus type signature */
1.113 +#define DBUS_TYPE_SIGNATURE ((int) 'g')
1.114 +/** #DBUS_TYPE_SIGNATURE as a string literal instead of a int literal */
1.115 +#define DBUS_TYPE_SIGNATURE_AS_STRING "g"
1.116 +
1.117 +/* Compound types */
1.118 +/** Type code marking a D-Bus array type */
1.119 +#define DBUS_TYPE_ARRAY ((int) 'a')
1.120 +/** #DBUS_TYPE_ARRAY as a string literal instead of a int literal */
1.121 +#define DBUS_TYPE_ARRAY_AS_STRING "a"
1.122 +/** Type code marking a D-Bus variant type */
1.123 +#define DBUS_TYPE_VARIANT ((int) 'v')
1.124 +/** #DBUS_TYPE_VARIANT as a string literal instead of a int literal */
1.125 +#define DBUS_TYPE_VARIANT_AS_STRING "v"
1.126 +
1.127 +/** STRUCT and DICT_ENTRY are sort of special since their codes can't
1.128 + * appear in a type string, instead
1.129 + * DBUS_STRUCT_BEGIN_CHAR/DBUS_DICT_ENTRY_BEGIN_CHAR have to appear
1.130 + */
1.131 +/** Type code used to represent a struct; however, this type code does not appear
1.132 + * in type signatures, instead #DBUS_STRUCT_BEGIN_CHAR and #DBUS_STRUCT_END_CHAR will
1.133 + * appear in a signature.
1.134 + */
1.135 +#define DBUS_TYPE_STRUCT ((int) 'r')
1.136 +/** #DBUS_TYPE_STRUCT as a string literal instead of a int literal */
1.137 +#define DBUS_TYPE_STRUCT_AS_STRING "r"
1.138 +/** Type code used to represent a dict entry; however, this type code does not appear
1.139 + * in type signatures, instead #DBUS_DICT_ENTRY_BEGIN_CHAR and #DBUS_DICT_ENTRY_END_CHAR will
1.140 + * appear in a signature.
1.141 + */
1.142 +#define DBUS_TYPE_DICT_ENTRY ((int) 'e')
1.143 +/** #DBUS_TYPE_DICT_ENTRY as a string literal instead of a int literal */
1.144 +#define DBUS_TYPE_DICT_ENTRY_AS_STRING "e"
1.145 +
1.146 +/** Does not include #DBUS_TYPE_INVALID, #DBUS_STRUCT_BEGIN_CHAR, #DBUS_STRUCT_END_CHAR,
1.147 + * #DBUS_DICT_ENTRY_BEGIN_CHAR, or #DBUS_DICT_ENTRY_END_CHAR - i.e. it is the number of
1.148 + * valid types, not the number of distinct characters that may appear in a type signature.
1.149 + */
1.150 +#define DBUS_NUMBER_OF_TYPES (16)
1.151 +
1.152 +/* characters other than typecodes that appear in type signatures */
1.153 +
1.154 +/** Code marking the start of a struct type in a type signature */
1.155 +#define DBUS_STRUCT_BEGIN_CHAR ((int) '(')
1.156 +/** #DBUS_STRUCT_BEGIN_CHAR as a string literal instead of a int literal */
1.157 +#define DBUS_STRUCT_BEGIN_CHAR_AS_STRING "("
1.158 +/** Code marking the end of a struct type in a type signature */
1.159 +#define DBUS_STRUCT_END_CHAR ((int) ')')
1.160 +/** #DBUS_STRUCT_END_CHAR a string literal instead of a int literal */
1.161 +#define DBUS_STRUCT_END_CHAR_AS_STRING ")"
1.162 +/** Code marking the start of a dict entry type in a type signature */
1.163 +#define DBUS_DICT_ENTRY_BEGIN_CHAR ((int) '{')
1.164 +/** #DBUS_DICT_ENTRY_BEGIN_CHAR as a string literal instead of a int literal */
1.165 +#define DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING "{"
1.166 +/** Code marking the end of a dict entry type in a type signature */
1.167 +#define DBUS_DICT_ENTRY_END_CHAR ((int) '}')
1.168 +/** #DBUS_DICT_ENTRY_END_CHAR as a string literal instead of a int literal */
1.169 +#define DBUS_DICT_ENTRY_END_CHAR_AS_STRING "}"
1.170 +
1.171 +/** Max length in bytes of a bus name, interface, or member (not object
1.172 + * path, paths are unlimited). This is limited because lots of stuff
1.173 + * is O(n) in this number, plus it would be obnoxious to type in a
1.174 + * paragraph-long method name so most likely something like that would
1.175 + * be an exploit.
1.176 + */
1.177 +#define DBUS_MAXIMUM_NAME_LENGTH 255
1.178 +
1.179 +/** This one is 255 so it fits in a byte */
1.180 +#define DBUS_MAXIMUM_SIGNATURE_LENGTH 255
1.181 +
1.182 +/** Max length of a match rule string; to keep people from hosing the
1.183 + * daemon with some huge rule
1.184 + */
1.185 +#define DBUS_MAXIMUM_MATCH_RULE_LENGTH 1024
1.186 +
1.187 +/** Max arg number you can match on in a match rule, e.g.
1.188 + * arg0='hello' is OK, arg3489720987='hello' is not
1.189 + */
1.190 +#define DBUS_MAXIMUM_MATCH_RULE_ARG_NUMBER 63
1.191 +
1.192 +/** Max length of a marshaled array in bytes (64M, 2^26) We use signed
1.193 + * int for lengths so must be INT_MAX or less. We need something a
1.194 + * bit smaller than INT_MAX because the array is inside a message with
1.195 + * header info, etc. so an INT_MAX array wouldn't allow the message
1.196 + * overhead. The 64M number is an attempt at a larger number than
1.197 + * we'd reasonably ever use, but small enough that your bus would chew
1.198 + * through it fairly quickly without locking up forever. If you have
1.199 + * data that's likely to be larger than this, you should probably be
1.200 + * sending it in multiple incremental messages anyhow.
1.201 + */
1.202 +#define DBUS_MAXIMUM_ARRAY_LENGTH (67108864)
1.203 +/** Number of bits you need in an unsigned to store the max array size */
1.204 +#define DBUS_MAXIMUM_ARRAY_LENGTH_BITS 26
1.205 +
1.206 +/** The maximum total message size including header and body; similar
1.207 + * rationale to max array size.
1.208 + */
1.209 +#define DBUS_MAXIMUM_MESSAGE_LENGTH (DBUS_MAXIMUM_ARRAY_LENGTH * 2)
1.210 +/** Number of bits you need in an unsigned to store the max message size */
1.211 +#define DBUS_MAXIMUM_MESSAGE_LENGTH_BITS 27
1.212 +
1.213 +/** Depth of recursion in the type tree. This is automatically limited
1.214 + * to DBUS_MAXIMUM_SIGNATURE_LENGTH since you could only have an array
1.215 + * of array of array of ... that fit in the max signature. But that's
1.216 + * probably a bit too large.
1.217 + */
1.218 +#define DBUS_MAXIMUM_TYPE_RECURSION_DEPTH 32
1.219 +
1.220 +/* Types of message */
1.221 +
1.222 +/** This value is never a valid message type, see dbus_message_get_type() */
1.223 +#define DBUS_MESSAGE_TYPE_INVALID 0
1.224 +/** Message type of a method call message, see dbus_message_get_type() */
1.225 +#define DBUS_MESSAGE_TYPE_METHOD_CALL 1
1.226 +/** Message type of a method return message, see dbus_message_get_type() */
1.227 +#define DBUS_MESSAGE_TYPE_METHOD_RETURN 2
1.228 +/** Message type of an error reply message, see dbus_message_get_type() */
1.229 +#define DBUS_MESSAGE_TYPE_ERROR 3
1.230 +/** Message type of a signal message, see dbus_message_get_type() */
1.231 +#define DBUS_MESSAGE_TYPE_SIGNAL 4
1.232 +
1.233 +/* Header flags */
1.234 +
1.235 +/** If set, this flag means that the sender of a message does not care about getting
1.236 + * a reply, so the recipient need not send one. See dbus_message_set_no_reply().
1.237 + */
1.238 +#define DBUS_HEADER_FLAG_NO_REPLY_EXPECTED 0x1
1.239 +/**
1.240 + * If set, this flag means that even if the message bus knows how to start an owner for
1.241 + * the destination bus name (see dbus_message_set_destination()), it should not
1.242 + * do so. If this flag is not set, the bus may launch a program to process the
1.243 + * message.
1.244 + */
1.245 +#define DBUS_HEADER_FLAG_NO_AUTO_START 0x2
1.246 +
1.247 +/* Header fields */
1.248 +
1.249 +/** Not equal to any valid header field code */
1.250 +#define DBUS_HEADER_FIELD_INVALID 0
1.251 +/** Header field code for the path - the path is the object emitting a signal or the object receiving a method call.
1.252 + * See dbus_message_set_path().
1.253 + */
1.254 +#define DBUS_HEADER_FIELD_PATH 1
1.255 +/** Header field code for the interface containing a member (method or signal).
1.256 + * See dbus_message_set_interface().
1.257 + */
1.258 +#define DBUS_HEADER_FIELD_INTERFACE 2
1.259 +/** Header field code for a member (method or signal). See dbus_message_set_member(). */
1.260 +#define DBUS_HEADER_FIELD_MEMBER 3
1.261 +/** Header field code for an error name (found in #DBUS_MESSAGE_TYPE_ERROR messages).
1.262 + * See dbus_message_set_error_name().
1.263 + */
1.264 +#define DBUS_HEADER_FIELD_ERROR_NAME 4
1.265 +/** Header field code for a reply serial, used to match a #DBUS_MESSAGE_TYPE_METHOD_RETURN message with the
1.266 + * message that it's a reply to. See dbus_message_set_reply_serial().
1.267 + */
1.268 +#define DBUS_HEADER_FIELD_REPLY_SERIAL 5
1.269 +/**
1.270 + * Header field code for the destination bus name of a message. See dbus_message_set_destination().
1.271 + */
1.272 +#define DBUS_HEADER_FIELD_DESTINATION 6
1.273 +/**
1.274 + * Header field code for the sender of a message; usually initialized by the message bus.
1.275 + * See dbus_message_set_sender().
1.276 + */
1.277 +#define DBUS_HEADER_FIELD_SENDER 7
1.278 +/**
1.279 + * Header field code for the type signature of a message.
1.280 + */
1.281 +#define DBUS_HEADER_FIELD_SIGNATURE 8
1.282 +
1.283 +/**
1.284 + * Value of the highest-numbered header field code, can be used to determine
1.285 + * the size of an array indexed by header field code. Remember though
1.286 + * that unknown codes must be ignored, so check for that before
1.287 + * indexing the array.
1.288 + */
1.289 +#define DBUS_HEADER_FIELD_LAST DBUS_HEADER_FIELD_SIGNATURE
1.290 +
1.291 +/** Header format is defined as a signature:
1.292 + * byte byte order
1.293 + * byte message type ID
1.294 + * byte flags
1.295 + * byte protocol version
1.296 + * uint32 body length
1.297 + * uint32 serial
1.298 + * array of struct (byte,variant) (field name, value)
1.299 + *
1.300 + * The length of the header can be computed as the
1.301 + * fixed size of the initial data, plus the length of
1.302 + * the array at the end, plus padding to an 8-boundary.
1.303 + */
1.304 +#define DBUS_HEADER_SIGNATURE \
1.305 + DBUS_TYPE_BYTE_AS_STRING \
1.306 + DBUS_TYPE_BYTE_AS_STRING \
1.307 + DBUS_TYPE_BYTE_AS_STRING \
1.308 + DBUS_TYPE_BYTE_AS_STRING \
1.309 + DBUS_TYPE_UINT32_AS_STRING \
1.310 + DBUS_TYPE_UINT32_AS_STRING \
1.311 + DBUS_TYPE_ARRAY_AS_STRING \
1.312 + DBUS_STRUCT_BEGIN_CHAR_AS_STRING \
1.313 + DBUS_TYPE_BYTE_AS_STRING \
1.314 + DBUS_TYPE_VARIANT_AS_STRING \
1.315 + DBUS_STRUCT_END_CHAR_AS_STRING
1.316 +
1.317 +
1.318 +/**
1.319 + * The smallest header size that can occur. (It won't be valid due to
1.320 + * missing required header fields.) This is 4 bytes, two uint32, an
1.321 + * array length. This isn't any kind of resource limit, just the
1.322 + * necessary/logical outcome of the header signature.
1.323 + */
1.324 +#define DBUS_MINIMUM_HEADER_SIZE 16
1.325 +
1.326 +/* Errors */
1.327 +/* WARNING these get autoconverted to an enum in dbus-glib.h. Thus,
1.328 + * if you change the order it breaks the ABI. Keep them in order.
1.329 + * Also, don't change the formatting since that will break the sed
1.330 + * script.
1.331 + */
1.332 +/** A generic error; "something went wrong" - see the error message for more. */
1.333 +#define DBUS_ERROR_FAILED "org.freedesktop.DBus.Error.Failed"
1.334 +/** There was not enough memory to complete an operation. */
1.335 +#define DBUS_ERROR_NO_MEMORY "org.freedesktop.DBus.Error.NoMemory"
1.336 +/** The bus doesn't know how to launch a service to supply the bus name you wanted. */
1.337 +#define DBUS_ERROR_SERVICE_UNKNOWN "org.freedesktop.DBus.Error.ServiceUnknown"
1.338 +/** The bus name you referenced doesn't exist (i.e. no application owns it). */
1.339 +#define DBUS_ERROR_NAME_HAS_NO_OWNER "org.freedesktop.DBus.Error.NameHasNoOwner"
1.340 +/** No reply to a message expecting one, usually means a timeout occurred. */
1.341 +#define DBUS_ERROR_NO_REPLY "org.freedesktop.DBus.Error.NoReply"
1.342 +/** Something went wrong reading or writing to a socket, for example. */
1.343 +#define DBUS_ERROR_IO_ERROR "org.freedesktop.DBus.Error.IOError"
1.344 +/** A D-Bus bus address was malformed. */
1.345 +#define DBUS_ERROR_BAD_ADDRESS "org.freedesktop.DBus.Error.BadAddress"
1.346 +/** Requested operation isn't supported (like ENOSYS on UNIX). */
1.347 +#define DBUS_ERROR_NOT_SUPPORTED "org.freedesktop.DBus.Error.NotSupported"
1.348 +/** Some limited resource is exhausted. */
1.349 +#define DBUS_ERROR_LIMITS_EXCEEDED "org.freedesktop.DBus.Error.LimitsExceeded"
1.350 +/** Security restrictions don't allow doing what you're trying to do. */
1.351 +#define DBUS_ERROR_ACCESS_DENIED "org.freedesktop.DBus.Error.AccessDenied"
1.352 +/** Authentication didn't work. */
1.353 +#define DBUS_ERROR_AUTH_FAILED "org.freedesktop.DBus.Error.AuthFailed"
1.354 +/** Unable to connect to server (probably caused by ECONNREFUSED on a socket). */
1.355 +#define DBUS_ERROR_NO_SERVER "org.freedesktop.DBus.Error.NoServer"
1.356 +/** Certain timeout errors, possibly ETIMEDOUT on a socket.
1.357 + * Note that #DBUS_ERROR_NO_REPLY is used for message reply timeouts.
1.358 + * @warning this is confusingly-named given that #DBUS_ERROR_TIMED_OUT also exists. We can't fix
1.359 + * it for compatibility reasons so just be careful.
1.360 + */
1.361 +#define DBUS_ERROR_TIMEOUT "org.freedesktop.DBus.Error.Timeout"
1.362 +/** No network access (probably ENETUNREACH on a socket). */
1.363 +#define DBUS_ERROR_NO_NETWORK "org.freedesktop.DBus.Error.NoNetwork"
1.364 +/** Can't bind a socket since its address is in use (i.e. EADDRINUSE). */
1.365 +#define DBUS_ERROR_ADDRESS_IN_USE "org.freedesktop.DBus.Error.AddressInUse"
1.366 +/** The connection is disconnected and you're trying to use it. */
1.367 +#define DBUS_ERROR_DISCONNECTED "org.freedesktop.DBus.Error.Disconnected"
1.368 +/** Invalid arguments passed to a method call. */
1.369 +#define DBUS_ERROR_INVALID_ARGS "org.freedesktop.DBus.Error.InvalidArgs"
1.370 +/** Missing file. */
1.371 +#define DBUS_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound"
1.372 +/** Existing file and the operation you're using does not silently overwrite. */
1.373 +#define DBUS_ERROR_FILE_EXISTS "org.freedesktop.DBus.Error.FileExists"
1.374 +/** Method name you invoked isn't known by the object you invoked it on. */
1.375 +#define DBUS_ERROR_UNKNOWN_METHOD "org.freedesktop.DBus.Error.UnknownMethod"
1.376 +/** Certain timeout errors, e.g. while starting a service.
1.377 + * @warning this is confusingly-named given that #DBUS_ERROR_TIMEOUT also exists. We can't fix
1.378 + * it for compatibility reasons so just be careful.
1.379 + */
1.380 +#define DBUS_ERROR_TIMED_OUT "org.freedesktop.DBus.Error.TimedOut"
1.381 +/** Tried to remove or modify a match rule that didn't exist. */
1.382 +#define DBUS_ERROR_MATCH_RULE_NOT_FOUND "org.freedesktop.DBus.Error.MatchRuleNotFound"
1.383 +/** The match rule isn't syntactically valid. */
1.384 +#define DBUS_ERROR_MATCH_RULE_INVALID "org.freedesktop.DBus.Error.MatchRuleInvalid"
1.385 +/** While starting a new process, the exec() call failed. */
1.386 +#define DBUS_ERROR_SPAWN_EXEC_FAILED "org.freedesktop.DBus.Error.Spawn.ExecFailed"
1.387 +/** While starting a new process, the fork() call failed. */
1.388 +#define DBUS_ERROR_SPAWN_FORK_FAILED "org.freedesktop.DBus.Error.Spawn.ForkFailed"
1.389 +/** While starting a new process, the child exited with a status code. */
1.390 +#define DBUS_ERROR_SPAWN_CHILD_EXITED "org.freedesktop.DBus.Error.Spawn.ChildExited"
1.391 +/** While starting a new process, the child exited on a signal. */
1.392 +#define DBUS_ERROR_SPAWN_CHILD_SIGNALED "org.freedesktop.DBus.Error.Spawn.ChildSignaled"
1.393 +/** While starting a new process, something went wrong. */
1.394 +#define DBUS_ERROR_SPAWN_FAILED "org.freedesktop.DBus.Error.Spawn.Failed"
1.395 +/** Tried to get a UNIX process ID and it wasn't available. */
1.396 +#define DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN "org.freedesktop.DBus.Error.UnixProcessIdUnknown"
1.397 +/** A type signature is not valid. */
1.398 +#define DBUS_ERROR_INVALID_SIGNATURE "org.freedesktop.DBus.Error.InvalidSignature"
1.399 +/** A file contains invalid syntax or is otherwise broken. */
1.400 +#define DBUS_ERROR_INVALID_FILE_CONTENT "org.freedesktop.DBus.Error.InvalidFileContent"
1.401 +/** Asked for SELinux security context and it wasn't available. */
1.402 +#define DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN "org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown"
1.403 +
1.404 +/* XML introspection format */
1.405 +
1.406 +/** XML namespace of the introspection format version 1.0 */
1.407 +#define DBUS_INTROSPECT_1_0_XML_NAMESPACE "http://www.freedesktop.org/standards/dbus"
1.408 +/** XML public identifier of the introspection format version 1.0 */
1.409 +#define DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
1.410 +/** XML system identifier of the introspection format version 1.0 */
1.411 +#define DBUS_INTROSPECT_1_0_XML_SYSTEM_IDENTIFIER "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
1.412 +/** XML document type declaration of the introspection format version 1.0 */
1.413 +#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"
1.414 +
1.415 +/** @} */
1.416 +
1.417 +#ifdef __cplusplus
1.418 +#if 0
1.419 +{ /* avoids confusing emacs indentation */
1.420 +#endif
1.421 +}
1.422 +#endif
1.423 +
1.424 +#endif /* DBUS_PROTOCOL_H */