diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/device.h | 4 | ||||
-rw-r--r-- | include/network.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index a5ed412e..f80969b4 100644 --- a/include/device.h +++ b/include/device.h @@ -52,6 +52,10 @@ enum connman_device_mode { CONNMAN_DEVICE_MODE_NETWORK_MULTIPLE = 2, }; +#define CONNMAN_DEVICE_PRIORITY_LOW -100 +#define CONNMAN_DEVICE_PRIORITY_DEFAULT 0 +#define CONNMAN_DEVICE_PRIORITY_HIGH 100 + struct connman_device; struct connman_device *connman_device_create(const char *node, diff --git a/include/network.h b/include/network.h index 322712ed..96d2d28f 100644 --- a/include/network.h +++ b/include/network.h @@ -58,6 +58,10 @@ enum connman_network_error { CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL = 2, }; +#define CONNMAN_NETWORK_PRIORITY_LOW -100 +#define CONNMAN_NETWORK_PRIORITY_DEFAULT 0 +#define CONNMAN_NETWORK_PRIORITY_HIGH 100 + struct connman_network; struct connman_network *connman_network_create(const char *identifier, |