From ee76478787428ef7c9c40b419c82b88b7b6efd45 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 24 Sep 2014 17:44:03 +0100 Subject: [PATCH 1/3] spec: in the table of types, classify them --- doc/dbus-specification.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 1830966..5df56df 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -763,6 +763,7 @@ + Category Conventional Name Code Description @@ -770,62 +771,77 @@ + reserved INVALID 0 (ASCII NUL) Not a valid type code, used to terminate signatures + fixed, basic BYTE 121 (ASCII 'y') 8-bit unsigned integer + fixed, basic BOOLEAN 98 (ASCII 'b') Boolean value, 0 is FALSE and 1 is TRUE. Everything else is invalid. + fixed, basic INT16 110 (ASCII 'n') 16-bit signed integer + fixed, basic UINT16 113 (ASCII 'q') 16-bit unsigned integer + fixed, basic INT32 105 (ASCII 'i') 32-bit signed integer + fixed, basic UINT32 117 (ASCII 'u') 32-bit unsigned integer + fixed, basic INT64 120 (ASCII 'x') 64-bit signed integer + fixed, basic UINT64 116 (ASCII 't') 64-bit unsigned integer + fixed, basic DOUBLE 100 (ASCII 'd') IEEE 754 double + string-like, basic STRING 115 (ASCII 's') UTF-8 string (must be valid UTF-8). Must be nul terminated and contain no other nul bytes. + string-like, basic OBJECT_PATH 111 (ASCII 'o') Name of an object instance + string-like, basic SIGNATURE 103 (ASCII 'g') A type signature + container ARRAY 97 (ASCII 'a') Array + container STRUCT 114 (ASCII 'r'), 40 (ASCII '('), 41 (ASCII ')') Struct; type code 114 'r' is reserved for use in @@ -833,10 +849,12 @@ concept of a struct, and must not appear in signatures used on D-Bus. + container VARIANT 118 (ASCII 'v') Variant type (the type of the value is part of the value itself) + container DICT_ENTRY 101 (ASCII 'e'), 123 (ASCII '{'), 125 (ASCII '}') Entry in a dict or map (array of key-value pairs). @@ -845,11 +863,13 @@ dict or dict-entry, and must not appear in signatures used on D-Bus. + fixed, basic UNIX_FD 104 (ASCII 'h') Unix file descriptor + reserved (reserved) 109 (ASCII 'm') Reserved for + reserved (reserved) 42 (ASCII '*') Reserved for use in bindings/implementations to @@ -866,6 +887,7 @@ and must not appear in signatures used on D-Bus. + reserved (reserved) 63 (ASCII '?') Reserved for use in bindings/implementations to @@ -873,6 +895,7 @@ not appear in signatures used on D-Bus. + reserved (reserved) 64 (ASCII '@'), 38 (ASCII '&'), 94 (ASCII '^') -- 2.1.1