gio: Add G_IO_ERROR_DESTINATION_UNSET

...and map EDESTADDRREQ to it.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev
2023-11-06 15:01:13 +03:00
parent 734f8184e8
commit 6b7b211338
4 changed files with 10 additions and 2 deletions

View File

@@ -517,6 +517,7 @@ typedef enum {
* @G_IO_ERROR_NOT_CONNECTED: Transport endpoint is not connected. Since 2.44
* @G_IO_ERROR_MESSAGE_TOO_LARGE: Message too large. Since 2.48.
* @G_IO_ERROR_NO_SUCH_DEVICE: No such device found. Since 2.74
* @G_IO_ERROR_DESTINATION_UNSET: Destination address unset. Since 2.80
*
* Error codes returned by GIO functions.
*
@@ -587,6 +588,7 @@ typedef enum {
G_IO_ERROR_NOT_CONNECTED,
G_IO_ERROR_MESSAGE_TOO_LARGE,
G_IO_ERROR_NO_SUCH_DEVICE GIO_AVAILABLE_ENUMERATOR_IN_2_74,
G_IO_ERROR_DESTINATION_UNSET GIO_AVAILABLE_ENUMERATOR_IN_2_80,
} GIOErrorEnum;