прикрепляйте поля к сообщению D-Bus на основе строки типа (Attach fields to a D-Bus message based on a type string)
Возвращаемое значение (Return value)
On success, these functions return a non-negative integer. On
failure, they return a negative errno-style error code.
Errors
Returned errors may indicate the following problems:
-EINVAL
Specified parameter is invalid.
-EPERM
Message has been sealed.
-ESTALE
Message is in invalid state.
-ENXIO
Message cannot be appended to.
-ENOMEM
Memory allocation failed.