Browse code

permissions: exported allow_trusted() to kemi

- function doesn't accept parameters

Arsen Semenov authored on 15/10/2020 11:06:58
Showing 1 changed files
... ...
@@ -1058,6 +1058,11 @@ static sr_kemi_t sr_kemi_permissions_exports[] = {
1058 1058
 		{ SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_NONE,
1059 1059
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
1060 1060
 	},
1061
+	{ str_init("permissions"), str_init("allow_trusted"),
1062
+		SR_KEMIP_INT, allow_trusted_0,
1063
+		{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
1064
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
1065
+	},
1061 1066
 
1062 1067
 	{ {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
1063 1068
 };