aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-04 22:05:06 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:02:30 +0100
commitfc6bc84d226a3cd41c5bfd1c503ea53f7fefa596 (patch)
treef75172db2daa2bdf3eeee09331b6b6de9e95f25f /include
parent73a29c3e330ab44780661324b2d24e964a34f55b (diff)
api,bearer: new 'profile-source' setting
Sometimes it's useful to know how a given stored profile was created, so devices can store and report this kind of information.
Diffstat (limited to 'include')
-rw-r--r--include/ModemManager-enums.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index 422ed52c..bb3c5c0e 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -1858,4 +1858,26 @@ typedef enum { /*< underscore_name=mm_bearer_roaming_allowance >*/
MM_BEARER_ROAMING_ALLOWANCE_NON_PARTNER = 1 << 2,
} MMBearerRoamingAllowance;
+/**
+ * MMBearerProfileSource:
+ * @MM_BEARER_PROFILE_SOURCE_UNKNOWN: Unknown.
+ * @MM_BEARER_PROFILE_SOURCE_ADMIN: Profile created by an enterprise IT admin from the OS.
+ * @MM_BEARER_PROFILE_SOURCE_USER: Profile created by the user.
+ * @MM_BEARER_PROFILE_SOURCE_OPERATOR: Profile created by the operator through OMA-DM or similar.
+ * @MM_BEARER_PROFILE_SOURCE_MODEM: Profile created by the OEM that was included with the modem firmware.
+ * @MM_BEARER_PROFILE_SOURCE_DEVICE: Profile created by the OS APN database.
+ *
+ * Value specifying how a given context was created, mostly for informative purposes.
+ *
+ * Since: 1.20
+ */
+typedef enum { /*< underscore_name=mm_bearer_profile_source >*/
+ MM_BEARER_PROFILE_SOURCE_UNKNOWN = 0,
+ MM_BEARER_PROFILE_SOURCE_ADMIN = 1,
+ MM_BEARER_PROFILE_SOURCE_USER = 2,
+ MM_BEARER_PROFILE_SOURCE_OPERATOR = 3,
+ MM_BEARER_PROFILE_SOURCE_MODEM = 4,
+ MM_BEARER_PROFILE_SOURCE_DEVICE = 5,
+} MMBearerProfileSource;
+
#endif /* _MODEMMANAGER_ENUMS_H_ */