mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 22:20:12 +01:00
shared: add NM_UTILS_ERROR_NOT_READY enum value
This is a general error code for being not ready to perform the operation.
This commit is contained in:
parent
eaa48caac4
commit
dd9c818947
1 changed files with 3 additions and 0 deletions
|
|
@ -925,6 +925,8 @@ _nm_g_slice_free_fcn_define(1) _nm_g_slice_free_fcn_define(2) _nm_g_slice_free_f
|
|||
* error reason. Depending on the usage, this might indicate a bug because
|
||||
* usually the target object should stay alive as long as there are pending
|
||||
* operations.
|
||||
* @NM_UTILS_ERROR_NOT_READY: the failure is related to being currently
|
||||
* not ready to perform the operation.
|
||||
*
|
||||
* @NM_UTILS_ERROR_CONNECTION_AVAILABLE_INCOMPATIBLE: used for a very particular
|
||||
* purpose during nm_device_check_connection_compatible() to indicate that
|
||||
|
|
@ -945,6 +947,7 @@ typedef enum {
|
|||
NM_UTILS_ERROR_UNKNOWN = 0, /*< nick=Unknown >*/
|
||||
NM_UTILS_ERROR_CANCELLED_DISPOSING, /*< nick=CancelledDisposing >*/
|
||||
NM_UTILS_ERROR_INVALID_ARGUMENT, /*< nick=InvalidArgument >*/
|
||||
NM_UTILS_ERROR_NOT_READY, /*< nick=NotReady >*/
|
||||
|
||||
/* the following codes have a special meaning and are exactly used for
|
||||
* nm_device_check_connection_compatible() and nm_device_check_connection_available().
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue